diff --git a/home_root/.zshrc b/home_root/.zshrc index a24ecf5..9702c1c 100644 --- a/home_root/.zshrc +++ b/home_root/.zshrc @@ -69,9 +69,7 @@ zstyle ':fzf-tab:complete:__zoxide_z:*' fzf-preview 'ls --color $realpath' zstyle ':fzf-tab:*' fzf-command ftb-tmux-popup # aliases -alias ls='eza' alias cat='bat' -alias tree='eza --tree' # To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh @@ -90,13 +88,13 @@ _fzf_compgen_dir() { source ~/fzf-git.sh/fzf-git.sh export FZF_CTRL_T_OPTS="--preview 'bat -n --color=always --line-range :500 {}'" -export FZF_ALT_C_OPTS="--preview 'eza --tree --color=always {} | head -200'" +export FZF_ALT_C_OPTS="--preview 'ls -la {} | head -200'" _fzf_comprun() { local command=$1 shift case "$command" in - cd) fzf --preview 'eza --tree --color=always {} | head -200' "$@" ;; + cd) fzf --preview 'ls -la {} | head -200' "$@" ;; export|unset) fzf --preview "eval 'echo \$' {}" "$@" ;; ssh) fzf --preview 'dig {}' "$@" ;; *) fzf --preview 'bat -n --color=always --line-range :500 {}' "$@" ;; diff --git a/lk-installers/install-eza b/lk-installers/install-eza deleted file mode 100755 index b09cb78..0000000 --- a/lk-installers/install-eza +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -# Check if Eza is installed - -if dpkg-query -Wf'${db:Status-abbrev}' eza; then - sudo apt install -y eza -else - sudo apt update - sudo apt install gpg - sudo mkdir -p /etc/apt/keyrings - wget -qO- https://raw.githubusercontent.com/eza-community/eza/main/deb.asc | sudo gpg --dearmor -o /etc/apt/keyrings/gierens.gpg - echo "deb [signed-by=/etc/apt/keyrings/gierens.gpg] http://deb.gierens.de stable main" | sudo tee /etc/apt/sources.list.d/gierens.list - sudo chmod 644 /etc/apt/keyrings/gierens.gpg /etc/apt/sources.list.d/gierens.list - sudo apt update - sudo apt install -y eza -fi -