From: Oleg Broytman Date: Thu, 7 Jul 2016 22:52:16 +0000 (+0300) Subject: .shellrc: use '() {' syntax for functions X-Git-Url: https://git.phdru.name/?p=dotfiles.git;a=commitdiff_plain;h=ae5f816b7ca05c64e19430dd58626afd04293d57 .shellrc: use '() {' syntax for functions Opening '{' must be on the same line. --- diff --git a/.shellrc b/.shellrc index 189817b..6a57008 100644 --- 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