[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:
parent
6022fe46c5
commit
41c2232166
2 changed files with 1 additions and 9 deletions
1
modules/utility/functions/mkcd
Normal file
1
modules/utility/functions/mkcd
Normal file
|
@ -0,0 +1 @@
|
|||
[[ -n ${1} ]] && mkdir -p ${1} && builtin cd ${1}
|
|
@ -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}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue