diff options
author | Alan Pearce | 2023-04-08 21:48:58 +0200 |
---|---|---|
committer | Alan Pearce | 2023-04-08 21:48:58 +0200 |
commit | 172f32560aafdf3353716d31c1fa29e85064204a (patch) | |
tree | 0b339282c00be350b4fa2d4d6b62751fd94f6027 /user/settings | |
parent | 617a1079107ab599c28a3cbbde69b1e9a1acc981 (diff) | |
download | nixfiles-172f32560aafdf3353716d31c1fa29e85064204a.tar.lz nixfiles-172f32560aafdf3353716d31c1fa29e85064204a.tar.zst nixfiles-172f32560aafdf3353716d31c1fa29e85064204a.zip |
zsh: use explicit home directory
Diffstat (limited to 'user/settings')
-rw-r--r-- | user/settings/zsh.nix | 4 |
1 files changed, 2 insertions, 2 deletions
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 |