From 5c997c1cec0ce304ccb5fba1f8cf23b55d0a2466 Mon Sep 17 00:00:00 2001 From: pika Date: Sun, 10 Nov 2024 13:45:43 +0100 Subject: [PATCH] addet yazi/cli explorer aliase --- .zshrc | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.zshrc b/.zshrc index 956f9c5..1882427 100644 --- a/.zshrc +++ b/.zshrc @@ -221,6 +221,17 @@ _alias(){ alias lazygit="$HOME/go/bin/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 >───────────────────────────────────────────────────────────────────────── if command_exists exa; then alias ls="exa --icons -l --git"