From df7a02c6e9f45faae044e55c2d1093e3383a24d0 Mon Sep 17 00:00:00 2001 From: retrilzzy Date: Wed, 6 Aug 2025 00:40:10 +0500 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=20alias=20.zshrc=20-=20lsd=20=D0=B2=D0=BC=D0=B5=D1=81?= =?UTF-8?q?=D1=82=D0=BE=20exa?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Configs/.zshrc | 7 ++++--- README.md | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Configs/.zshrc b/Configs/.zshrc index 796eb12..3d4464f 100644 --- a/Configs/.zshrc +++ b/Configs/.zshrc @@ -56,9 +56,10 @@ export ARCHFLAGS="-arch x86_64" [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh # Aliases -if [ -x "$(command -v exa)" ]; then - alias ls="exa" - alias la="exa --long --all --group" +if [ -x "$(command -v lsd)" ]; then + alias ls="lsd" + alias la="lsd --long --all --group-dirs first" + alias lt="lsd --tree --group-dirs first" fi alias clck="tty-clock -c -s -b -C 7" diff --git a/README.md b/README.md index bf2c542..f335bcf 100644 --- a/README.md +++ b/README.md @@ -414,10 +414,10 @@ git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM: git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions ``` -Установка [exa](https://github.com/ogham/exa) (замена ls) +Установка [lsd](https://github.com/lsd-rs/lsd) (замена ls) ``` -sudo pacman -S exa +sudo pacman -S lsd ``` ## Nwg-look