mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-06-05 05:03:16 +02:00
enable passing multiple directories to take
This commit is contained in:
parent
f461d21de1
commit
e28010320a
1 changed files with 2 additions and 2 deletions
|
|
@ -11,8 +11,8 @@ function upgrade_oh_my_zsh() {
|
|||
}
|
||||
|
||||
function take() {
|
||||
mkdir -p $1
|
||||
cd $1
|
||||
mkdir -p $@
|
||||
cd ${@:$#}
|
||||
}
|
||||
|
||||
function open_command() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue