]> git.phdru.name Git - dotfiles.git/commitdiff
.shellrc: use '() {' syntax for functions
authorOleg Broytman <phd@phdru.name>
Thu, 7 Jul 2016 22:52:16 +0000 (01:52 +0300)
committerOleg Broytman <phd@phdru.name>
Thu, 7 Jul 2016 22:52:16 +0000 (01:52 +0300)
Opening '{' must be on the same line.

.shellrc

index 189817bd65eb6a95476556b45de15e79aeb8c5e3..6a57008952d125a312c4c012a75875286fa09699 100644 (file)
--- a/.shellrc
+++ b/.shellrc
@@ -210,8 +210,7 @@ case "$SHELL" in
 esac
 
 
-include()
-{
+include() {
    cfg="$1"
    if [ -f "./$cfg" -a -r "./$cfg" ]; then
       echo "Reading config file \`$cfg'" 1>&2