# zshrc/30_aliases # # Define command aliases # # Copyright © 2010 Tobias Klauser # Released under the terms of the Artistic Licence 2.0 # # Source repository: git://git.distanz.ch/dotfiles/zsh.git # TODO: look at the salias function in .zshrc.grml # command aliases alias l='ls' alias ll='ls -l' alias la='ls -la' alias cd..='cd ..' alias ...='cd ../../' alias cal='cal -m' alias egrep='egrep --color=auto' alias grep='grep --color=auto' alias m='mount' alias u='umount' # enable color support of ls if [ "${TERM}" != "dumb" ] ; then is_darwin || alias ls='ls --color=auto' fi # use colors when browsing man pages, but only if not using LESS_TERMCAP_* if [ -z "$LESS_TERMCAP_md" ] ; then [ -d ~/.terminfo/ ] && alias man='TERMINFO=~/.terminfo/ LESS=C TERM=mostlike PAGER=less man' fi # no spelling correction for these alias cp='nocorrect cp' alias ln='nocorrect ln' alias mkdir='nocorrect mkdir' alias mv='nocorrect mv' alias rm='nocorrect rm' # get top 10 shell commands alias top10='print -l ? ${(o)history%% *} | uniq -c | sort -nr | head -n 10' # bofh fortunes alias bofh='fortune bofh-excuses' # Quake 3 (on the second screen) alias q3='SDL_VIDEO_FULLSCREEN_HEAD=1 ioquake3' # host aliases alias distanz="ssh distanz.ch -t \"screen -dRU\"" alias distanz6="ssh -6 6.distanz.ch -t \"screen -dRU\"" alias sym=distanz alias sym6=distanz6 alias lema="ssh lema.distanz.ch -t \"screen -dRU\"" # vim:ft=zsh >Tobias Klauser
summaryrefslogtreecommitdiff
path: root/tools/testing/ktest/ktest.pl
AgeCommit message (Expand)AuthorFilesLines