From 130cf0ca75680d877ee5888d5966cfb8d422781f Mon Sep 17 00:00:00 2001 From: schererleander Date: Thu, 8 Jan 2026 12:17:01 +0100 Subject: feat(shells): configure minimal bash shell with zoxide --- modules/users/shells/zsh/default.nix | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) (limited to 'modules/users/shells/zsh') diff --git a/modules/users/shells/zsh/default.nix b/modules/users/shells/zsh/default.nix index 5a48cf0..0b94c3d 100644 --- a/modules/users/shells/zsh/default.nix +++ b/modules/users/shells/zsh/default.nix @@ -28,20 +28,23 @@ in autosuggestion.enable = true; syntaxHighlighting.enable = true; initContent = '' - # view man pages with nvim - export MANPAGER="nvim +Man!" + # view man pages with nvim + export MANPAGER="nvim +Man!" - # Directory completion with trailing slash - zstyle ':completion:*' list-dirs-first true - zstyle ':completion:*' special-dirs true - zstyle ':completion:*' squeeze-slashes true - zstyle ':completion:*' add-space false + # Directory completion with trailing slash + zstyle ':completion:*' list-dirs-first true + zstyle ':completion:*' special-dirs true + zstyle ':completion:*' squeeze-slashes true + zstyle ':completion:*' add-space false - # Case-insensitive completion - zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}' - # vim keybindings - bindkey -v - ''; + # Case-insensitive completion + zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}' + # vim keybindings + bindkey -v + + # zoxide smarter cmd command + eval "$(zoxide init zsh)" + ''; shellAliases = { ls = "ls --color=auto"; }; -- cgit v1.3.1