commit da6b426689dc19ddc84ddab1ad6c1a6131064614
parent e41e07334b43ef87955a9506f480003c9c34d0c8
Author: Vincent Demeester <vincent@sbr.pm>
Date: Fri, 17 Jan 2020 15:54:38 +0100
profiles.zsh: add ~/.krew/bin to PATH
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/modules/profiles/zsh.nix b/modules/profiles/zsh.nix
@@ -131,6 +131,7 @@ in
alias -g GB='`git rev-parse --abbrev-ref HEAD`'
alias -g GR='`git rev-parse --show-toplevel`'
(( $+commands[jq] )) && alias -g MJ="| jq -C '.'" || alias -g MJ="| ${pkgs.python3}/bin/python -mjson.tool"
+ export PATH=$HOME/.krew/bin:$PATH
'';
profileExtra = ''
if [ -e /home/vincent/.nix-profile/etc/profile.d/nix.sh ]; then . /home/vincent/.nix-profile/etc/profile.d/nix.sh; fi