From ccf94b7df09799feb201d1a59928932fda4e24f4 Mon Sep 17 00:00:00 2001 From: David Runge Date: Fri, 31 Oct 2014 18:30:03 +0100 Subject: zsh: Adding config files for zprezto, zsh settings and prompts, to comply with the way zprezto gets started --- .zsh.before/aliases.zsh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to '.zsh.before/aliases.zsh') diff --git a/.zsh.before/aliases.zsh b/.zsh.before/aliases.zsh index b38dc53..2fc2c1d 100644 --- a/.zsh.before/aliases.zsh +++ b/.zsh.before/aliases.zsh @@ -1 +1,10 @@ -alias brew='echo' +# Global aliases +alias -g ...='../..' +alias -g ....='../../..' +alias -g .....='../../../..' +alias -g C='| wc -l' +alias -g H='| head' +alias -g L="| less" +alias -g N="| /dev/null" +alias -g S='| sort' +alias -g G='| grep' # now you can do: ls foo G something -- cgit v1.2.3-70-g09d2