[utility] Move mkcd to functions subdirectory

Now that we have a general digest file that can contain all the
functions from all active modules, we can add functions to any of them
without the need to update the `fpath`.
This commit is contained in:
Eric Nielsen 2017-11-24 21:05:48 -05:00
parent 6022fe46c5
commit 41c2232166
2 changed files with 1 additions and 9 deletions

View File

@ -0,0 +1 @@
[[ -n ${1} ]] && mkdir -p ${1} && builtin cd ${1}

View File

@ -110,12 +110,3 @@ fi
if (( ${+commands[safe-rm]} && ! ${+commands[safe-rmdir]} )); then
alias rm='safe-rm'
fi
#
# Misc
#
mkcd() {
[[ -n ${1} ]] && mkdir -p ${1} && builtin cd ${1}
}