Fix typo (s/functions/function/)
authorMikael Berthe <mikael@lilotux.net>
Sun, 05 Feb 2017 12:46:10 +0100
changeset 37 9c238177f98a
parent 36 89707240553f
child 38 54b86a545f6c
child 40 6eeab84c3f15
Fix typo (s/functions/function/)
zshrc.d/30-functions.zrc
--- 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