From 227ef1d75d49c2360476274a1feefee232e0e006 Mon Sep 17 00:00:00 2001 From: Kunmun Date: Sun, 7 Jul 2024 17:38:22 +0530 Subject: [PATCH] feat: Use eza to display file/folder icons in terminal Change-Id: I3807eef228a3799c652eea185384445de7c5c370 --- assets/.zshrc | 10 +++++++--- install-scripts/00-hypr-pkgs.sh | 1 + 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/assets/.zshrc b/assets/.zshrc index 51a5e5f..809eacb 100644 --- a/assets/.zshrc +++ b/assets/.zshrc @@ -5,7 +5,7 @@ export ZSH="$HOME/.oh-my-zsh" ZSH_THEME="xiong-chiamiov-plus" -plugins=( +plugins=( git archlinux zsh-autosuggestions @@ -17,15 +17,19 @@ source $ZSH/oh-my-zsh.sh # Check archlinux plugin commands here # https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/archlinux - # Display Pokemon-colorscripts # Project page: https://gitlab.com/phoneybadger/pokemon-colorscripts#on-other-distros-and-macos #pokemon-colorscripts --no-title -s -r +# Set-up icons for files/folders in terminal +alias ls='eza -a --icons' +alias ll='eza -al --icons' +alias lt='eza -a --tree --level=1 --icons' + # Set-up FZF key bindings (CTRL R for fuzzy history finder) source <(fzf --zsh) HISTFILE=~/.zsh_history HISTSIZE=10000 SAVEHIST=10000 -setopt appendhistory \ No newline at end of file +setopt appendhistory diff --git a/install-scripts/00-hypr-pkgs.sh b/install-scripts/00-hypr-pkgs.sh index abf4781..fe1389a 100755 --- a/install-scripts/00-hypr-pkgs.sh +++ b/install-scripts/00-hypr-pkgs.sh @@ -59,6 +59,7 @@ brightnessctl btop cava eog +eza fastfetch gnome-system-monitor mousepad