Gen 282: zsh no longer leaves .zsh_history files everywhere
This commit is contained in:
@@ -20,3 +20,5 @@
|
|||||||
: 1728599304:0;nixcommit "rewrote zshell.nix, split nixswitch into two separate functions"
|
: 1728599304:0;nixcommit "rewrote zshell.nix, split nixswitch into two separate functions"
|
||||||
: 1728599352:0;ls
|
: 1728599352:0;ls
|
||||||
: 1728599354:0;..
|
: 1728599354:0;..
|
||||||
|
: 1728600647:0;zrc
|
||||||
|
: 1728600660:0;cd -
|
||||||
|
|||||||
@@ -64,3 +64,8 @@ zsh
|
|||||||
: 1728600546:0;nvim hyprland/config.nix
|
: 1728600546:0;nvim hyprland/config.nix
|
||||||
: 1728600558:0;nixswitch
|
: 1728600558:0;nixswitch
|
||||||
: 1728600597:0;nixcommit "kitty and hyprland tweaks"
|
: 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"
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
enableCompletion = true;
|
enableCompletion = true;
|
||||||
history = {
|
history = {
|
||||||
path = ".zsh_history";
|
path = "$HOME/.zsh_history";
|
||||||
save = 10000;
|
save = 10000;
|
||||||
size = 10000;
|
size = 10000;
|
||||||
share = true;
|
share = true;
|
||||||
@@ -100,6 +100,7 @@ nixcommit() {
|
|||||||
git add .
|
git add .
|
||||||
git commit -m "Gen $gen: $@"
|
git commit -m "Gen $gen: $@"
|
||||||
git push
|
git push
|
||||||
|
builtin cd -
|
||||||
}
|
}
|
||||||
|
|
||||||
nixswitch() {
|
nixswitch() {
|
||||||
|
|||||||
Reference in New Issue
Block a user