From: Jannik Zander Date: Wed, 25 May 2016 18:19:44 +0000 (+0200) Subject: Update ls to not show . and .. X-Git-Url: https://git.zndr.dk/?a=commitdiff_plain;h=5b997afba1f4a6e82ad5a884db934d61245abcb5;p=dotfiles.git Update ls to not show . and .. --- diff --git a/.config/bash/rc/aliases b/.config/bash/rc/aliases index 79229a4..ba50104 100644 --- a/.config/bash/rc/aliases +++ b/.config/bash/rc/aliases @@ -12,7 +12,7 @@ alias sl=ls alias la='ls -A' alias ll='ls -Al' alias l1='ls -1' -alias l.='ls -d .*' +alias l.='ls -d .[a-z]*' flags="-hF" # Detect which `ls` flavor is in use @@ -88,15 +88,6 @@ alias week='date +%V' # Stopwatch alias timer='echo "Timer started. Stop with Ctrl-D." && date && time cat && date' -# Intuitive map function -# For example, to list all directories that contain a certain file: -# find . -name .gitattributes | map dirname -alias map="xargs -n1" - -for method in GET HEAD POST PUT DELETE TRACE OPTIONS; do - alias "$method"="lwp-request -m '$method'" -done - # Reload the shell (i.e. invoke as a login shell) alias reload="exec $SHELL -l"