update zsh configs
This commit is contained in:
parent
cd8e274705
commit
92934e48fe
3 changed files with 7 additions and 24 deletions
|
@ -10,26 +10,9 @@
|
||||||
# license: MIT
|
# license: MIT
|
||||||
|
|
||||||
# ----- aliases ----- #
|
# ----- aliases ----- #
|
||||||
alias eza='eza --icons --group --time-style long-iso --octal-permissions --git'
|
|
||||||
alias ls='eza'
|
|
||||||
alias ll='eza --long'
|
|
||||||
alias la='eza --all'
|
|
||||||
alias lla='eza --long --all'
|
|
||||||
alias df='duf'
|
|
||||||
alias du='gdu'
|
|
||||||
alias grep='rg -P'
|
|
||||||
alias grepa='rg -P --hidden'
|
|
||||||
alias find='fd'
|
|
||||||
alias findf='fd --type file'
|
|
||||||
alias findd='fd --type directory'
|
|
||||||
alias findl='fd --type symlink'
|
|
||||||
alias finds='fd --type socket'
|
|
||||||
alias findp='fd --type pipe'
|
|
||||||
alias findx='fd --type executable'
|
|
||||||
alias finde='fd --type empty'
|
|
||||||
alias bat='bat --style header-filename,header-filesize,grid,snip,changes,numbers'
|
|
||||||
alias cat='bat'
|
|
||||||
alias batp='bat --style plain'
|
|
||||||
alias catp='batp'
|
|
||||||
alias icat='kitten icat'
|
alias icat='kitten icat'
|
||||||
alias ssh='kitty +kitten ssh'
|
|
||||||
|
# ----- non-ssh aliases ----- #
|
||||||
|
if [[ -z "$SSH_TTY" ]]; then
|
||||||
|
alias ssh='kitty +kitten ssh'
|
||||||
|
fi
|
||||||
|
|
|
@ -39,7 +39,7 @@ alias stats='pfetch'
|
||||||
alias icat='kitten icat'
|
alias icat='kitten icat'
|
||||||
|
|
||||||
# ----- non-ssh aliases ----- #
|
# ----- non-ssh aliases ----- #
|
||||||
if [[ -n "$SSH_TTY" ]]; then
|
if [[ -z "$SSH_TTY" ]]; then
|
||||||
alias ssh='kitty +kitten ssh'
|
alias ssh='kitty +kitten ssh'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -37,7 +37,7 @@ alias stats='pfetch'
|
||||||
alias icat='kitten icat'
|
alias icat='kitten icat'
|
||||||
|
|
||||||
# ----- non-ssh aliases ----- #
|
# ----- non-ssh aliases ----- #
|
||||||
if [[ -n "$SSH_TTY" ]]; then
|
if [[ -z "$SSH_TTY" ]]; then
|
||||||
alias ssh='kitty +kitten ssh'
|
alias ssh='kitty +kitten ssh'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue