From 5dd6360b85a1010bb7dbf8f0b68ed5caeac0db07 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Thu, 19 May 2011 15:04:05 +0200 Subject: [PATCH] add ND/NF global aliases --- .zsh/zshrc/30_aliases | 3 +++ 1 file changed, 3 insertions(+) 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' -- 2.39.5