diff options
Diffstat (limited to '.zsh/zshrc/30_aliases')
-rw-r--r-- | .zsh/zshrc/30_aliases | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/.zsh/zshrc/30_aliases b/.zsh/zshrc/30_aliases index 876d26c..6343989 100644 --- a/.zsh/zshrc/30_aliases +++ b/.zsh/zshrc/30_aliases @@ -18,8 +18,11 @@ alias ...='cd ../../' alias cal='cal -m' alias egrep='egrep --color=auto' alias grep='grep --color=auto' -alias m='mount' -alias u='umount' +alias ip='ip -color=auto' +# most often used commands from top10 +alias m='make' +alias g='git' +alias v='vim' # show history with timestamps (taken from oh-my-zsh) alias history='fc -El 1' @@ -45,6 +48,14 @@ alias rm='nocorrect rm' alias pylab='ipython --pylab' alias qpylab='ipython qtconsole --ConsoleWidget.font_family="Inconsolata" --ConsoleWidget.font_size=11 --colors=Linux --pylab ' +# k8s +alias k='kubectl' +alias kw='kubectl -o wide' +alias ks='kubectl -n kube-system' +alias ksw='kubectl -n kube-system -o wide' +alias wk='watch kubectl' +alias wks='watch kubectl -n kube-system' + # get top 10 shell commands alias top10='print -l ? ${(o)history%% *} | uniq -c | sort -nr | head -n 10' @@ -52,7 +63,7 @@ alias top10='print -l ? ${(o)history%% *} | uniq -c | sort -nr | head -n 10' alias bofh='fortune bofh-excuses' # Quake 3 (on the second screen) -alias q3='SDL_VIDEO_FULLSCREEN_HEAD=1 ioquake3' +alias q3='SDL_VIDEO_FULLSCREEN_HEAD=0 ioquake3' # host aliases alias distanz="ssh tklauser@distanz.ch -t \"screen -dRU\"" |