add zsh alias for mkcd
[dotfiles.git] / zsh / .zshrc
index eb0c76e832a9f22a9f201a3984e2f7cce5f04c49..c8438e6a22492aab0095af382cab8a4ebed2100e 100755 (executable)
@@ -24,13 +24,24 @@ WORDCHARS='*?_-.[]~=&;!#$%^(){}<>'
 #Allow bash-style comments
 setopt interactivecomments
 
-export EDITOR='nano'
+export EDITOR='vim'
 
 # Timestamp in history command ("mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd")
 HIST_STAMPS="dd.mm.yyyy"
 
 DISABLE_UNTRACKED_FILES_DIRTY="true"
 
+# plugins can be found in ~/.oh-my-zsh/plugins/*
+plugins=(git)
+
+# load zmv
+autoload -U zmv
+
+mkcd() {
+  mkdir "$1"
+  cd "$1"
+}
+
 # ---
 # Appearance
 # ---