From 7495cfbec6d778d14719fe6037385a3391a90d41 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Thu, 3 Apr 2014 10:13:52 +0200 Subject: [PATCH] zsh/rc: add A1, A2, A3 aliases for awk '{ print $X }' --- zsh/rc | 3 +++ 1 file changed, 3 insertions(+) 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' -- 2.45.2