diff options
author | aktersnurra <grydholm@kth.se> | 2021-02-09 22:06:04 +0100 |
---|---|---|
committer | aktersnurra <grydholm@kth.se> | 2021-02-09 22:06:04 +0100 |
commit | 6453f0dbffd3d8efd04150d870b95c9cda34f57b (patch) | |
tree | 22b791e5d51d769dc4cd383341d173eedf96f113 | |
parent | 2a262e9806e27920306aa8c89805e0e386adfe2c (diff) |
ls fix
-rw-r--r-- | .config/zsh/aliases.zsh | 6 |
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 |