addet yazi/cli explorer aliase

This commit is contained in:
pika 2024-11-10 13:45:43 +01:00
parent 051e95724c
commit 5c997c1cec

11
.zshrc
View file

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