all repos — nixfiles @ 5c759ae232f178d2730b35bc3f248c500f16a4a1

System and user configuration, managed by nix and home-manager

zsh: move GHQ_ROOT to home variable

Alan Pearce
commit

5c759ae232f178d2730b35bc3f248c500f16a4a1

parent

425606c401e08026729af63dde44566ed150eb8e

1 file changed, 4 insertions(+), 1 deletion(-)

jump to
M user/settings/zsh.nixuser/settings/zsh.nix
@@ -43,6 +43,10 @@ zsh-completions
up ]; + home.sessionVariables = { + GHQ_ROOT = lib.mkDefault "${config.home.homeDirectory}/projects"; + }; + programs.zsh = { enable = true;
@@ -227,7 +231,6 @@ '';
initExtra = '' typeset -T GHQ_ROOT ghq_root - export GHQ_ROOT="${config.home.homeDirectory}/projects" function hist-freq-subcommands () { fc -l -m "$1*" -10000 | cut -d' ' -f4- | sort | uniq -c | sort -gr | head -n100 | less