diff options
Diffstat (limited to 'home')
-rw-r--r-- | home/zsh/default.nix | 5 | ||||
-rw-r--r-- | home/zsh/zshrc | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/home/zsh/default.nix b/home/zsh/default.nix index ce1820e..5de1c7c 100644 --- a/home/zsh/default.nix +++ b/home/zsh/default.nix @@ -13,5 +13,10 @@ ".zshrc".source = ./zshrc; ".zprofile".source = ./zprofile; }; + + programs.zoxide = { + enable = true; + enableZshIntegration = true; + }; }; } diff --git a/home/zsh/zshrc b/home/zsh/zshrc index 0d53e0d..6a366a0 100644 --- a/home/zsh/zshrc +++ b/home/zsh/zshrc @@ -39,6 +39,10 @@ alias diff="diff --color=auto" alias vim="nvim" alias ssh='TERM=xterm-256color ssh' # xterm-kitty bad +# zoxide +eval "$(zoxide init zsh)" +alias cd="z" + # nix rebuild alias rs="sudo nixos-rebuild switch --flake ~/.config/nix#$(hostname)" alias rh="home-manager switch --flake ~/.config/nix#$(hostname)" |