From 775a3ec89580e959134eb8175146f40c583c0bd5 Mon Sep 17 00:00:00 2001 From: Oleksandr Popov Date: Wed, 3 Jul 2024 01:56:39 +0300 Subject: [PATCH] [zsh] fix aliases for 'ls' with migration from exa to lsd --- zsh/.zsh/aliases | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/zsh/.zsh/aliases b/zsh/.zsh/aliases index 5f580716..f64a490e 100644 --- a/zsh/.zsh/aliases +++ b/zsh/.zsh/aliases @@ -18,13 +18,16 @@ alias gist="pbpaste | gh gist create | rg github | pbcopy" alias lg="lazygit" alias ld="lazydocker" +alias gf='nvim $(fzf)' + alias q="exit" alias app='fd ".app" /System/Library/CoreServices /System/Applications /Applications /System/Applications/Utilities --max-depth 1 | fzf | xargs -I {} open "{}"' -alias ls='exa --group-directories-first --icons' -alias la='exa --group-directories-first --icons -a' -alias lt='exa --tree --icons' +alias ls='lsd --group-dirs first --classify' +alias la='lsd --group-dirs first --classify --almost-all' +alias ll='lsd --group-dirs first --classify --almost-all --long' +alias lt='lsd --tree' alias howto='cht.sh' @@ -36,3 +39,5 @@ alias -s yml=nvim alias -s json=nvim alias -s txt=nvim alias -s go="go run" + +alias nr="npm run"