diff --git a/.bash_extra b/.bash_extra index 07be076..4e59511 100644 --- a/.bash_extra +++ b/.bash_extra @@ -145,6 +145,14 @@ function gc { git checkout $1 || git checkout -b $1 origin/$1 esac } +function ll { + unalias ll + if command -v exa >/dev/null ; then + exa --long --git --all --ignore-glob='.git' --group-directories-first --sort=name --group + else + ls -lah + fi +} ### Aliase @@ -159,7 +167,6 @@ alias cls="clear" alias df="df -h" alias du="du -h" alias grep="grep -i --color=auto" -alias ll="exa --long --git --all --ignore-glob='.git' --group-directories-first --sort=name --group" alias hostname="hostname -f" alias untar="tar -xzf" alias unmount="umount"