summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/settings/zsh.nix4
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