From 5b997afba1f4a6e82ad5a884db934d61245abcb5 Mon Sep 17 00:00:00 2001 From: Jannik Zander Date: Wed, 25 May 2016 20:19:44 +0200 Subject: [PATCH] Update ls to not show . and .. --- .config/bash/rc/aliases | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) 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" -- 2.43.0