summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorben <benjaminfranzke@gmail.com>2010-02-25 23:26:34 +0100
committerben <benjaminfranzke@gmail.com>2010-02-25 23:26:34 +0100
commit64862d317ef8016e07a11c67485859483ff1ec79 (patch)
tree04e36511fd9baaf744de2ae5d2526def6faf8ae0
parentcef1e8043dae416cdb55a82f3cf38b42dce446d7 (diff)
downloaddotfiles-64862d317ef8016e07a11c67485859483ff1ec79.tar.gz
dotfiles-64862d317ef8016e07a11c67485859483ff1ec79.tar.bz2
dotfiles-64862d317ef8016e07a11c67485859483ff1ec79.zip
bashrc: add alias to list hidden files
-rw-r--r--.bashrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/.bashrc b/.bashrc
index f5314d1..f792c0c 100644
--- a/.bashrc
+++ b/.bashrc
@@ -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!' -"