Add a bunch of aliases and mkdir cd's automatically
Prithu Goswami prithugoswami524@gmail.com
Sun, 08 Apr 2018 10:12:39 +0530
1 files changed,
15 insertions(+),
0 deletions(-)
jump to
M
.zshrc
→
.zshrc
@@ -84,6 +84,21 @@
# Kill the delay while swtiching modes in vi-mode plugin export KEYTIMEOUT=1 +# ALIAS +alias cfi="vim ~/.config/i3/config" +alias cfz="vim ~/.zshrc" +alias cfv="vim ~/.vimrc" +alias sn="shutdown now" +alias rn="shutdown -r now" + + +# change into the directory right after making it +mkdir(){ + /bin/mkdir $1; + cd $1 +} + + # User configuration # export MANPATH="/usr/local/man:$MANPATH"