From 853a0aae4f0435e1cfa133aff7cfae17c79543fe Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Wed, 24 Jun 2009 14:00:05 +0200 Subject: change ll ls and la --- .zsh/rc/30functions | 2 +- .zsh/rc/60aliases | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to '.zsh') diff --git a/.zsh/rc/30functions b/.zsh/rc/30functions index c29169b..4345412 100644 --- a/.zsh/rc/30functions +++ b/.zsh/rc/30functions @@ -37,7 +37,7 @@ chpwd() { # idea by Gigamo http://bbs.archlinux.org/viewtopic.php?pid=478094#p478094 ls () { - /bin/ls -rlhbtF --color=auto $@ && + /bin/ls -rhbtF --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}" } diff --git a/.zsh/rc/60aliases b/.zsh/rc/60aliases index ed1d16a..b0b17f4 100644 --- a/.zsh/rc/60aliases +++ b/.zsh/rc/60aliases @@ -14,8 +14,9 @@ alias dus='du -skh' alias df='pydf' # function to make ls look nice is below -alias ll='ls' +alias ll='ls -l' alias la='ls -a' +alias lla='ls -la' alias newpkgb=' cp $HOME/misc/aur/PKGBUILD.proto PKGBUILD' -- cgit v1.2.3-24-g4f1b