From 172f32560aafdf3353716d31c1fa29e85064204a Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 8 Apr 2023 21:48:58 +0200 Subject: zsh: use explicit home directory --- user/settings/zsh.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'user/settings') diff --git a/user/settings/zsh.nix b/user/settings/zsh.nix index 0963d490..2e0d9290 100644 --- a/user/settings/zsh.nix +++ b/user/settings/zsh.nix @@ -51,7 +51,7 @@ in 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 @@ in 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 -- cgit 1.4.1