mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2025-01-24 20:59:47 +08:00
10 lines
219 B
Fish
10 lines
219 B
Fish
|
function omf_util_mkdir -a name
|
||
|
set -l name "$argv[1]"
|
||
|
if test -d "$OMF_CUSTOM"
|
||
|
set name "$OMF_CUSTOM/$name"
|
||
|
else if test -d "$OMF_PATH"
|
||
|
set name "$OMF_PATH/$name"
|
||
|
end
|
||
|
mkdir -p "$name"
|
||
|
echo $name
|
||
|
end
|