Commit 7cba6bb0 authored by sam-lunt's avatar sam-lunt Committed by Marc Cornellà
Browse files

Enable passing multiple directories to take (#6900)

* enable passing multiple directories to take

* Update take function

Do not call cd if mkdir fails
parent 9711d8f7
......@@ -11,8 +11,7 @@ function upgrade_oh_my_zsh() {
}
function take() {
mkdir -p $1
cd $1
mkdir -p $@ && cd ${@:$#}
}
function open_command() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment