all repos — nixfiles @ 172f32560aafdf3353716d31c1fa29e85064204a

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

zsh: use explicit home directory

Alan Pearce
commit

172f32560aafdf3353716d31c1fa29e85064204a

parent

617a1079107ab599c28a3cbbde69b1e9a1acc981

1 file changed, 2 insertions(+), 2 deletions(-)

jump to
M user/settings/zsh.nixuser/settings/zsh.nix
@@ -51,7 +51,7 @@
history = { expireDuplicatesFirst = true; extended = true; - path = "$HOME/.local/share/zsh/history"; + path = "${config.home.homeDirectory}/.local/share/zsh/history"; save = 200000; size = 100000; share = false;
@@ -212,7 +212,7 @@
initExtra = '' typeset -T GHQ_ROOT ghq_root - export GHQ_ROOT="$HOME/projects" + export GHQ_ROOT="${config.home.homeDirectory}/projects" function hist-freq-subcommands () { fc -l -m "$1*" -10000 | cut -d' ' -f4- | sort | uniq -c | sort -g | tail -n100 | less