Skip to content

Commit

Permalink
[zsh] fix aliases for 'ls' with migration from exa to lsd
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-popov-tech committed Jul 2, 2024
1 parent 9027a17 commit 775a3ec
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions zsh/.zsh/aliases
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand All @@ -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"

0 comments on commit 775a3ec

Please sign in to comment.