From 6453f0dbffd3d8efd04150d870b95c9cda34f57b Mon Sep 17 00:00:00 2001 From: aktersnurra Date: Tue, 9 Feb 2021 22:06:04 +0100 Subject: ls fix --- .config/zsh/aliases.zsh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2