all repos — dotfiles @ 1e8dcb747b62881bf46a226514724ab077e91c6e

linux dotfiles

Add a bunch of aliases and mkdir cd's automatically
Prithu Goswami prithugoswami524@gmail.com
Sun, 08 Apr 2018 10:12:39 +0530
commit

1e8dcb747b62881bf46a226514724ab077e91c6e

parent

c775ac57a08a46219ae17ca42c7dd9c368ca9b05

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"