shell/zsh: add alias for lsd
This commit is contained in:
parent
cc10685f6d
commit
dd9833a199
1 changed files with 3 additions and 2 deletions
|
@ -26,6 +26,7 @@ in {
|
||||||
eval "$(zoxide init zsh)"
|
eval "$(zoxide init zsh)"
|
||||||
|
|
||||||
# aliases
|
# aliases
|
||||||
|
alias ls=lsd
|
||||||
## git
|
## git
|
||||||
alias lg='lazygit'
|
alias lg='lazygit'
|
||||||
alias g='git'
|
alias g='git'
|
||||||
|
@ -62,8 +63,8 @@ in {
|
||||||
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Za-z}'
|
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Za-z}'
|
||||||
zstyle ':completion:*' list-colors "\$\{s.:. LS_COLORS}"
|
zstyle ':completion:*' list-colors "\$\{s.:. LS_COLORS}"
|
||||||
zstyle ':completion:*' menu no
|
zstyle ':completion:*' menu no
|
||||||
zstyle ':fzf-tab:complete:cd:*' fzf-preview 'ls --color $realpath'
|
zstyle ':fzf-tab:complete:cd:*' fzf-preview 'lsd'
|
||||||
zstyle ':fzf-tab:complete:__zoxide_z:*' fzf-preview 'ls --color $realpath'
|
zstyle ':fzf-tab:complete:__zoxide_z:*' fzf-preview 'lsd'
|
||||||
|
|
||||||
# autosuggestions
|
# autosuggestions
|
||||||
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=8"
|
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=8"
|
||||||
|
|
Loading…
Add table
Reference in a new issue