zshrc.d/30-functions.zrc
changeset 37 9c238177f98a
parent 6 7671e95ab8b0
child 43 7b48c4ff8d36
--- a/zshrc.d/30-functions.zrc	Thu Sep 22 19:18:09 2016 +0200
+++ b/zshrc.d/30-functions.zrc	Sun Feb 05 12:46:10 2017 +0100
@@ -41,7 +41,7 @@
 
 # This function seen in Frank Terbeck config files is an improvement over
 # my previous mkcd alias...
-functions mkcd() {
+function mkcd() {
     [[ -z $1 ]] && printf 'usage: mkcd NEW-DIRECTORY\n' && return 1
     [[ -d $1 ]] && printf 'mkcd: Directory %s already exists; cd-ing\n' $1
     command mkdir -p -- $1