aboutsummaryrefslogtreecommitdiffstats
path: root/.zsh.before/aliases.zsh
diff options
context:
space:
mode:
Diffstat (limited to '.zsh.before/aliases.zsh')
-rw-r--r--.zsh.before/aliases.zsh11
1 files changed, 10 insertions, 1 deletions
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