From: martin f. krafft Date: Thu, 19 May 2011 13:04:05 +0000 (+0200) Subject: add ND/NF global aliases X-Git-Url: https://git.madduck.net/etc/zsh.git/commitdiff_plain/5dd6360b85a1010bb7dbf8f0b68ed5caeac0db07 add ND/NF global aliases --- diff --git a/.zsh/zshrc/30_aliases b/.zsh/zshrc/30_aliases index fd8dd24..982ddbb 100644 --- a/.zsh/zshrc/30_aliases +++ b/.zsh/zshrc/30_aliases @@ -53,6 +53,9 @@ cd () { __CHPWD_RUN_FIRST=lscontext && builtin cd "$@" && unset __CHPWD_RUN_FIRS # #183394 alias w='w|cat' +alias -g ND='*(/om[1])' # newest directory +alias -g NF='*(.om[1])' # newest file + alias egrep='egrep --color=auto -d skip' alias fgrep='fgrep --color=auto -d skip' alias grep='grep --color=auto -d skip'