From 227ef1d75d49c2360476274a1feefee232e0e006 Mon Sep 17 00:00:00 2001 From: Kunmun Date: Sun, 7 Jul 2024 17:38:22 +0530 Subject: [PATCH 1/2] 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 From 69e938e33cfcea14d6f07b29d28b140e3209ea79 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sun, 7 Jul 2024 22:41:19 +0900 Subject: [PATCH 2/2] move installation of eza on zsh.sh --- CHANGELOGS.md | 3 +++ install-scripts/00-hypr-pkgs.sh | 1 - install-scripts/zsh.sh | 7 ++++--- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/CHANGELOGS.md b/CHANGELOGS.md index 5fe6675..efe8633 100644 --- a/CHANGELOGS.md +++ b/CHANGELOGS.md @@ -1,5 +1,8 @@ ## Changelogs +## 07 Jul 2024 +- added eza (ls replacement for tty). Note only on .zshrc + ## 25 Jun 2024 - added fbdev=1 for nvidia.sh on `/etc/modprobe.d/nvidia.conf`. see here `https://wiki.hyprland.org/Nvidia/#drm-kernel-mode-setting` diff --git a/install-scripts/00-hypr-pkgs.sh b/install-scripts/00-hypr-pkgs.sh index fe1389a..abf4781 100755 --- a/install-scripts/00-hypr-pkgs.sh +++ b/install-scripts/00-hypr-pkgs.sh @@ -59,7 +59,6 @@ brightnessctl btop cava eog -eza fastfetch gnome-system-monitor mousepad diff --git a/install-scripts/zsh.sh b/install-scripts/zsh.sh index 20acb11..d792d1e 100755 --- a/install-scripts/zsh.sh +++ b/install-scripts/zsh.sh @@ -6,9 +6,10 @@ if [[ $USE_PRESET = [Yy] ]]; then fi zsh=( -zsh -zsh-completions -fzf + eza + zsh + zsh-completions + fzf )