diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2008-09-17 18:36:08 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2008-09-17 18:36:08 +0200 |
commit | 7b9a3d5a2480f7fa012eb3b8998de308c82b47c9 (patch) | |
tree | a1f81f2e875645b9eb8fefdc6f5912f29894a8f8 /etc/functions/rtab | |
parent | 50f0eed8ebe54a0af21b7669c0cb8b8ff479ed6f (diff) |
rtab: Removed some old forgotten stuff
Diffstat (limited to 'etc/functions/rtab')
-rw-r--r-- | etc/functions/rtab | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/etc/functions/rtab b/etc/functions/rtab index 9a1410b..0920d93 100644 --- a/etc/functions/rtab +++ b/etc/functions/rtab @@ -20,10 +20,10 @@ while [[ $1 == -* ]]; do ;; -h|--help) print 'Usage: rtab [-f -l -s -t] [directory]' - print ' -t, --tilde Print ~ for the home directory' - print ' -f, --fish fish-simulation, like -l -s' + print ' -f, --fish fish-simulation, like -l -s -t' print ' -l, --last Print the last directory''s full name' print ' -s, --short Truncate directory names to the first character' + print ' -t, --tilde Print ~ for the home directory' return 0 ;; -l|--last) lastfull=1 ;; @@ -37,8 +37,6 @@ typeset -a tree expn typeset result part dir=${1-$PWD} typeset -i i -(( pwd )) && dir=$PWD - [[ -d $dir ]] || return 0 (( tilde )) && dir=${dir/$HOME/\~} |