From 7e1e2941421f9a5adeef18d74e7768aef39058bd Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Mon, 2 Dec 2019 13:03:38 +1300 Subject: [PATCH] memo, taskwarrior: add shell completion --- modules/programs/shell-zsh.nix | 1 + pkgs/default.nix | 3 ++- system/desktop/home-manager.nix | 5 +++++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/modules/programs/shell-zsh.nix b/modules/programs/shell-zsh.nix index 7bc5338..c0d1154 100644 --- a/modules/programs/shell-zsh.nix +++ b/modules/programs/shell-zsh.nix @@ -44,6 +44,7 @@ in { "git" "git-flow" "screen" + "taskwarrior" "systemd" "tmux" "vi-mode" diff --git a/pkgs/default.nix b/pkgs/default.nix index 0f86525..aae76a8 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -42,7 +42,8 @@ in otpmenu = callPackage ./otpmenu {}; - memo = callPackage ./memo {}; + # use upstream only for package tests + # memo = callPackage ./memo {}; sononym = callPackage ./sononym {}; diff --git a/system/desktop/home-manager.nix b/system/desktop/home-manager.nix index 5117c46..d345c4b 100644 --- a/system/desktop/home-manager.nix +++ b/system/desktop/home-manager.nix @@ -37,6 +37,11 @@ in home-manager.users.mainUser = { + home.file.".zshrc".text = '' + # a fix for https://github.com/NixOS/nixpkgs/issues/27587 + autoload -U compinit && compinit + ''; + programs.git = { enable = true; userName = "Ingolf Wagner";