summaryrefslogtreecommitdiff
path: root/.config/zsh
diff options
context:
space:
mode:
authoraktersnurra <grydholm@kth.se>2021-02-09 22:06:04 +0100
committeraktersnurra <grydholm@kth.se>2021-02-09 22:06:04 +0100
commit6453f0dbffd3d8efd04150d870b95c9cda34f57b (patch)
tree22b791e5d51d769dc4cd383341d173eedf96f113 /.config/zsh
parent2a262e9806e27920306aa8c89805e0e386adfe2c (diff)
ls fix
Diffstat (limited to '.config/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