From dd9833a199f18c9a9596c17369aa4695b2f8f970 Mon Sep 17 00:00:00 2001 From: Anthony Rodriguez Date: Wed, 19 Feb 2025 18:00:11 +0100 Subject: [PATCH] shell/zsh: add alias for lsd --- modules/programs/terminal/shell/zsh.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/programs/terminal/shell/zsh.nix b/modules/programs/terminal/shell/zsh.nix index dd9dfce..db12bb7 100644 --- a/modules/programs/terminal/shell/zsh.nix +++ b/modules/programs/terminal/shell/zsh.nix @@ -26,6 +26,7 @@ in { eval "$(zoxide init zsh)" # aliases + alias ls=lsd ## git alias lg='lazygit' alias g='git' @@ -62,8 +63,8 @@ in { zstyle ':completion:*' matcher-list 'm:{a-z}={A-Za-z}' zstyle ':completion:*' list-colors "\$\{s.:. LS_COLORS}" zstyle ':completion:*' menu no - zstyle ':fzf-tab:complete:cd:*' fzf-preview 'ls --color $realpath' - zstyle ':fzf-tab:complete:__zoxide_z:*' fzf-preview 'ls --color $realpath' + zstyle ':fzf-tab:complete:cd:*' fzf-preview 'lsd' + zstyle ':fzf-tab:complete:__zoxide_z:*' fzf-preview 'lsd' # autosuggestions ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=8"