enable passing multiple directories to take

This commit is contained in:
sam-lunt 2018-06-07 10:28:18 -05:00 committed by GitHub
commit e28010320a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,8 +11,8 @@ function upgrade_oh_my_zsh() {
} }
function take() { function take() {
mkdir -p $1 mkdir -p $@
cd $1 cd ${@:$#}
} }
function open_command() { function open_command() {