From: martin f. krafft Date: Mon, 2 Jun 2008 06:00:22 +0000 (+0200) Subject: Merge branch 'master' of ssh://git.madduck.net/~/git/pub/etc/zsh X-Git-Url: https://git.madduck.net/etc/zsh.git/commitdiff_plain/769b4c074545f45bd87f82298f93272c087199fd?hp=9cda4c27ae54bb41714d00c196664981ea16003a Merge branch 'master' of ssh://git.madduck.net/~/git/pub/etc/zsh --- diff --git a/.zsh/zshrc/30_aliases b/.zsh/zshrc/30_aliases index c13062a..6dcdfbf 100644 --- a/.zsh/zshrc/30_aliases +++ b/.zsh/zshrc/30_aliases @@ -36,6 +36,8 @@ alias ll='ls -l' alias l=ll alias la='ls -a' alias lla='ls -la' +alias lrt='ls -lrt' +alias lart='ls -lart' # List only directories and symbolic links that point to directories alias lsd='ls -ld *(-/DN)' @@ -44,7 +46,7 @@ alias lssmall="ls -Srl *(.oL[1,10])" alias lsnew="ls -rl *(D.om[1,10])" alias lsold="ls -rtlh *(D.om[1,10])" -cd () { builtin cd $* && ll } +cd () { builtin cd "$@" && lrt } #_cd_l() { ll } #chpwd_functions+=_cd_l diff --git a/.zsh/zshrc/31_cd_bugfix2 b/.zsh/zshrc/31_cd_bugfix2 index f551907..b1aae20 100644 --- a/.zsh/zshrc/31_cd_bugfix2 +++ b/.zsh/zshrc/31_cd_bugfix2 @@ -1,3 +1,3 @@ # fix until #480889 is fixed -cd () { builtin cd $* && ll } +cd () { builtin cd "$@" && lrt }