diff options
author | ben <benjaminfranzke@gmail.com> | 2010-02-25 23:26:34 +0100 |
---|---|---|
committer | ben <benjaminfranzke@gmail.com> | 2010-02-25 23:26:34 +0100 |
commit | 64862d317ef8016e07a11c67485859483ff1ec79 (patch) | |
tree | 04e36511fd9baaf744de2ae5d2526def6faf8ae0 | |
parent | cef1e8043dae416cdb55a82f3cf38b42dce446d7 (diff) | |
download | dotfiles-64862d317ef8016e07a11c67485859483ff1ec79.tar.gz dotfiles-64862d317ef8016e07a11c67485859483ff1ec79.tar.bz2 dotfiles-64862d317ef8016e07a11c67485859483ff1ec79.zip |
bashrc: add alias to list hidden files
-rw-r--r-- | .bashrc | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -28,6 +28,8 @@ resize_to_min() { # eval $(resize -s $(max $LINES $2) $(max $COLUMNS $1)) printf "\e[8;%d;%dt" $(max $LINES $2) $(max $COLUMNS $1) } +# list hidden files - if directory do NOT show contents and dont display ".." +alias lh="ls -d .[^.]*" alias r="resize_to_min 100 35" #export PAGER="col -b 2>/dev/null | view -c 'set ft=man' -c 'set titlestring=[view]man' -c 'set number!' -" #export PAGER="sed 's/\[[^m]*m//g; s/.//g' | view -c 'set ft=man' -c 'set titlestring=[view]man' -c 'set number!' -" |