summaryrefslogtreecommitdiff
path: root/.config/zsh/aliases.zsh
diff options
context:
space:
mode:
Diffstat (limited to '.config/zsh/aliases.zsh')
-rw-r--r--.config/zsh/aliases.zsh6
1 files changed, 5 insertions, 1 deletions
diff --git a/.config/zsh/aliases.zsh b/.config/zsh/aliases.zsh
index 81fb392..72f5265 100644
--- a/.config/zsh/aliases.zsh
+++ b/.config/zsh/aliases.zsh
@@ -10,7 +10,11 @@ alias vim='nvim'
alias config='/usr/bin/git --git-dir=$HOME/dotfiles/ --work-tree=$HOME'
if command -v exa > /dev/null; then
- alias ls='exa -l'
+ alias ls='exa -al --color=always --group-directories-first' # my preferred listing
+ alias la='exa -a --color=always --group-directories-first' # all files and dirs
+ alias ll='exa -l --color=always --group-directories-first' # long format
+ alias lt='exa -aT --color=always --group-directories-first' # tree listing
+ alias l.='exa -a | egrep "^\."'
else
echo "install exa"
fi