addet yazi/cli explorer aliase
This commit is contained in:
parent
051e95724c
commit
5c997c1cec
1 changed files with 11 additions and 0 deletions
11
.zshrc
11
.zshrc
|
@ -221,6 +221,17 @@ _alias(){
|
||||||
alias lazygit="$HOME/go/bin/lazygit" &&
|
alias lazygit="$HOME/go/bin/lazygit" &&
|
||||||
alias lg="lazygit"
|
alias lg="lazygit"
|
||||||
|
|
||||||
|
# ─< cli explorer >───────────────────────────────────────────────────────────────────────
|
||||||
|
if command_exists yazi; then
|
||||||
|
echo_info "yazi is the explorer of choise"
|
||||||
|
alias lf="yazi"
|
||||||
|
elif command_exists ranger; then
|
||||||
|
echo_info "ranger is the explorer of choise"
|
||||||
|
alias lf="ranger"
|
||||||
|
elif command_exists lf; then
|
||||||
|
echo_info "lf is the explorer of choise"
|
||||||
|
fi
|
||||||
|
|
||||||
# ─< colorized ls >─────────────────────────────────────────────────────────────────────────
|
# ─< colorized ls >─────────────────────────────────────────────────────────────────────────
|
||||||
if command_exists exa; then
|
if command_exists exa; then
|
||||||
alias ls="exa --icons -l --git"
|
alias ls="exa --icons -l --git"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue