aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.zsh.after/aliases.zsh8
1 files changed, 8 insertions, 0 deletions
diff --git a/.zsh.after/aliases.zsh b/.zsh.after/aliases.zsh
index 6c0395f..789e2cb 100644
--- a/.zsh.after/aliases.zsh
+++ b/.zsh.after/aliases.zsh
@@ -29,6 +29,14 @@ alias lla='ls -lA'
alias lsfw='ls -lah /dev|grep fw'
alias lsvid='ls -lah /dev|grep video'
+#zsh
+
+# Lists the ten most used commands.
+alias history-stat="history 0 | awk '{print \$2}' | sort | uniq -c | sort -n -r | head"
+
+alias d='dirs -v'
+for index ({1..9}) alias "$index"="cd +${index}"; unset index
+
#MPLAYER
alias mplayer='mplayer -ao jack,pulse,alsa'