]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - shell/functions
shell/function,zsh/rc: Replace $@ with "$@".
[config/dotfiles.git] / shell / functions
index 308252bad0c581c1b9a3ee25e8e86e01033a88fe..f3a4096b51b00238efec9d8927b2555a7f2538aa 100644 (file)
@@ -7,7 +7,7 @@
 # available everywhere.
 source_debug() {
     if [ x$DEBUG != x ]; then
-        echo $@
+        echo "$@"
     fi
 }
 
@@ -16,12 +16,12 @@ source_config() {
     source_debug "source_config(): $1"
 
     if [ -f $1 ]; then
-        source_debug "source_config(): . $1"
+        source_debug ". $1"
         . $1
     fi
 
     if [ -f $1.local ]; then
-        source_debug "source_config(): . $1.local"
+        source_debug ". $1.local"
         . $1.local
     fi
 }