Fix mkdcd
parent
83ae1044f3
commit
cfe166f68a
|
@ -35,6 +35,10 @@
|
||||||
mkdcd = {
|
mkdcd = {
|
||||||
argumentNames = [ "target" ];
|
argumentNames = [ "target" ];
|
||||||
body = ''
|
body = ''
|
||||||
|
if test -z "$target"
|
||||||
|
echo "mkdcd requires an argument" 1>&2
|
||||||
|
return 1
|
||||||
|
end
|
||||||
mkdir -p $target
|
mkdir -p $target
|
||||||
cd $target
|
cd $target
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in New Issue