diff options
author | Florian Pritz <f-p@gmx.at> | 2009-01-27 14:49:07 +0100 |
---|---|---|
committer | Florian Pritz <f-p@gmx.at> | 2009-01-27 14:49:07 +0100 |
commit | 37f14dc9efd6bef448ec6895ba4526402f8f99eb (patch) | |
tree | bd25622b2d8fcb85bb68b8ca2f2d07433122e2b4 | |
parent | 5be8e812abd0b6203466116f95bc4f61e00aa4f2 (diff) | |
download | dotfiles-37f14dc9efd6bef448ec6895ba4526402f8f99eb.tar.gz dotfiles-37f14dc9efd6bef448ec6895ba4526402f8f99eb.tar.xz |
reversed ls sorting order
-rw-r--r-- | .zshrc | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,7 +1,7 @@ #---------------------------------------------------- # File: ~/.zshrc -# Version: 0.3.9 -# Date: 2009-01-23 +# Version: 0.3.10 +# Date: 2009-01-27 # Author: Florian "Bluewind" Pritz <f-p@gmx.at> #---------------------------------------------------- @@ -329,7 +329,7 @@ cd() { # idea by Gigamo http://bbs.archlinux.org/viewtopic.php?pid=478094#p478094 ls () { - /bin/ls -lhbtF --color=auto $@ && + /bin/ls -rlhbtF --color=auto $@ && echo "${PURPLE}Files: ${BLUE}$(/bin/ls -l $@ | grep -v "^[l|d|total]" | wc -l) ${GREEN}--- ${PURPLE}Directories: ${BLUE}$(/bin/ls -l $@ | grep "^d" | wc -l)${NC}" } |