add clear screen and function to create directories and cd into them

This commit is contained in:
Ranganath Kini 2015-02-16 11:28:11 +05:30
commit eeb4bd3c81

View file

@ -50,6 +50,12 @@ alias rm='rm -i'
alias cp='cp -i' alias cp='cp -i'
alias mv='mv -i' alias mv='mv -i'
# clear screen
alias c='clear'
# make a directory and cd into it
function mkcd() { mkdir "$*"; cd "$*" }
# zsh is able to auto-do some kungfoo # zsh is able to auto-do some kungfoo
# depends on the SUFFIX :) # depends on the SUFFIX :)
if [ ${ZSH_VERSION//\./} -ge 420 ]; then if [ ${ZSH_VERSION//\./} -ge 420 ]; then