zsh: use explicit home directory
Alan Pearce alan@alanpearce.eu
Sat, 08 Apr 2023 21:48:58 +0200
1 files changed, 2 insertions(+), 2 deletions(-)
jump to
M user/settings/zsh.nix → user/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