Skip to content

Commit 04cc983

Browse files
committed
add mkcd
1 parent f55a1aa commit 04cc983

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

iTerm/zsh.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,16 @@ edit the `.zshrc` by opening the file in a text editor
3535
source /usr/local/bin/virtualenvwrapper.sh
3636
3737
# Owner
38-
export USER_NAME="Sourabh"
38+
export USER_NAME="YOUR NAME"
3939
eval "$(rbenv init -)"
4040
4141
# FileSearch
4242
function f() { find . -iname "*$1*" ${@:2} }
4343
function r() { grep "$1" ${@:2} -R . }
4444
45+
#mkdir and cd
46+
function mkcd() { mkdir -p "$@" && cd "$_"; }
47+
4548
# Aliases
4649
alias cppcompile='c++ -std=c++11 -stdlib=libc++'
4750
alias portfolio='cd ~/Projects/portfolio'

0 commit comments

Comments
 (0)