From: Simon Ruderich Date: Thu, 3 Apr 2014 08:13:52 +0000 (+0200) Subject: zsh/rc: add A1, A2, A3 aliases for awk '{ print $X }' X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=7495cfbec6d778d14719fe6037385a3391a90d41;p=config%2Fdotfiles.git zsh/rc: add A1, A2, A3 aliases for awk '{ print $X }' --- diff --git a/zsh/rc b/zsh/rc index 065ab1f..04c99f2 100644 --- a/zsh/rc +++ b/zsh/rc @@ -829,6 +829,9 @@ alias -g LS='2>&1 | less -S' # -S prevents wrapping of long lines alias -g D='2>&1 | colordiff | less' # Global aliases for often used commands. alias -g A='| awk' +alias -g A1="| awk '{ print \$1 }'" +alias -g A2="| awk '{ print \$2 }'" +alias -g A3="| awk '{ print \$3 }'" alias -g G='| grep' alias -g H='| head' alias -g P='| perl'