aboutsummaryrefslogtreecommitdiffstats
path: root/.zsh.after/aliases.zsh
diff options
context:
space:
mode:
Diffstat (limited to '.zsh.after/aliases.zsh')
-rw-r--r--.zsh.after/aliases.zsh15
1 files changed, 13 insertions, 2 deletions
diff --git a/.zsh.after/aliases.zsh b/.zsh.after/aliases.zsh
index 6d3c3eb..20a055f 100644
--- a/.zsh.after/aliases.zsh
+++ b/.zsh.after/aliases.zsh
@@ -1,5 +1,5 @@
# < ZSH ALIASES
-## EXTENSIONS
+# suffix aliases
alias -s pdf='mupdf'
alias -s ps='mupdf'
alias -s jpg='feh'
@@ -13,7 +13,18 @@ alias -s tlz='tar --lzma -xvf'
alias -s rar='unrar x'
alias -s tex='mkpdf'
-##LS
+# 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'
+
+# ls
alias ls='ls --group-directories-first --color=auto'
alias ll="ls -lh"
alias la="ls -a"