From 5e964c3cd241a8ed86c9898434b67b4735e0ed79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Fo=CC=88rster?= Date: Mon, 24 Mar 2025 17:15:07 +0100 Subject: [PATCH] add zsh-eza --- .zshrc | 5 ++++- aliases | 14 ++++++++++++-- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/.zshrc b/.zshrc index 798d05d..97bb867 100644 --- a/.zshrc +++ b/.zshrc @@ -49,7 +49,9 @@ COMPLETION_WAITING_DOTS="true" # Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/ # Example format: plugins=(rails git textmate ruby lighthouse) # Add wisely, as too many plugins slow down shell startup. -plugins=(colored-man-pages git docker sublime sudo) +plugins=(colored-man-pages git docker sublime sudo zsh-eza) + +# ansible brew colorize common-aliases direnv dnf fig tmux zsh-navigation-tools zsh-syntax-highliting # User configuration source .api-keys @@ -58,6 +60,7 @@ export PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/opt/home source $ZSH/oh-my-zsh.sh source /opt/homebrew/share/zsh-autosuggestions/zsh-autosuggestions.zsh +source /opt/homebrew/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh # make less more friendly for non-text input files, see lesspipe(1) [ -x /usr/bin/lesspipe ] && eval "$(lesspipe)" diff --git a/aliases b/aliases index 098560c..5be2a2e 100755 --- a/aliases +++ b/aliases @@ -28,8 +28,18 @@ else # OS X `ls` colorflag="-G" fi -alias la='ls -laF ${colorflag}' -alias ls='ls -Fh ${colorflag}' +#alias la='ls -laF ${colorflag}' +#alias ls='ls -Fh ${colorflagI}' + +alias ls='eza $eza_params' +alias l='eza --git-ignore $eza_params' +alias ll='eza --all --header --long $eza_params' +alias llm='eza --all --header --long --sort=modified $eza_params' +#alias la='eza -lbhHigUmuSa' +alias la='eza -lbhHgma' +alias lx='eza -lbhHigUmuSa@' +alias lt='eza --tree $eza_params' +alias tree='eza --tree $eza_params' alias tmux='tmux -2' alias view='vim -p -R'