Gen 282: zsh no longer leaves .zsh_history files everywhere

This commit is contained in:
pagedMov
2024-10-10 18:52:41 -04:00
parent ca6f759612
commit 5592e6317d
3 changed files with 9 additions and 1 deletions

View File

@@ -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"

View File

@@ -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() {