summaryrefslogtreecommitdiff
path: root/etc/functions/mkcd
diff options
context:
space:
mode:
Diffstat (limited to 'etc/functions/mkcd')
-rwxr-xr-xetc/functions/mkcd2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/functions/mkcd b/etc/functions/mkcd
index 4d62298..c4a8c5d 100755
--- a/etc/functions/mkcd
+++ b/etc/functions/mkcd
@@ -8,7 +8,7 @@ if [[ -z $dir ]] {
return 1
}
[[ -d $dir ]] && ls=1
-mkdir -p $din
+mkdir -p $dir
cd $dir
((ls)) && ls
true