diff --git a/.zsh_history b/.zsh_history index 6c87395..1875ffa 100644 --- a/.zsh_history +++ b/.zsh_history @@ -20,3 +20,5 @@ : 1728599304:0;nixcommit "rewrote zshell.nix, split nixswitch into two separate functions" : 1728599352:0;ls : 1728599354:0;.. +: 1728600647:0;zrc +: 1728600660:0;cd - diff --git a/glasshouse-desktop/home/.zsh_history b/glasshouse-desktop/home/.zsh_history index 579bab7..cff513c 100644 --- a/glasshouse-desktop/home/.zsh_history +++ b/glasshouse-desktop/home/.zsh_history @@ -64,3 +64,8 @@ zsh : 1728600546:0;nvim hyprland/config.nix : 1728600558:0;nixswitch : 1728600597:0;nixcommit "kitty and hyprland tweaks" +: 1728600666:0;cd- +: 1728600668:0;cd - +: 1728600676:0;zrc +: 1728600692:0;nvim zsh/zshell.nix +: 1728600738:0;nixswitch && nixcommit "zsh no longer leaves .zsh_history files everywhere" diff --git a/glasshouse-desktop/home/zsh/zshell.nix b/glasshouse-desktop/home/zsh/zshell.nix index 86d9ea3..9314138 100644 --- a/glasshouse-desktop/home/zsh/zshell.nix +++ b/glasshouse-desktop/home/zsh/zshell.nix @@ -24,7 +24,7 @@ enableCompletion = true; history = { - path = ".zsh_history"; + path = "$HOME/.zsh_history"; save = 10000; size = 10000; share = true; @@ -100,6 +100,7 @@ nixcommit() { git add . git commit -m "Gen $gen: $@" git push + builtin cd - } nixswitch() {