From e78cbe6f466a32be90f81b17fae093db8efca890 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Thu, 25 Aug 2016 14:03:40 +1200 Subject: Remove unneeded { } around options() func I'm learning a lot from izabera today --- sh/profile.d/options.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sh/profile.d/options.sh') diff --git a/sh/profile.d/options.sh b/sh/profile.d/options.sh index 4dadf5c3..74aa7cd9 100644 --- a/sh/profile.d/options.sh +++ b/sh/profile.d/options.sh @@ -1,7 +1,7 @@ # Cache the options available to certain programs. Run all this in a subshell # (none of its state needs to endure in the session) ( -options() { ( +options() ( # Check or create the directory to cache the options dir=$HOME/.cache/$1 @@ -25,7 +25,7 @@ options() { ( grep -q -- '[^[:alnum:]]--'"$opt"'[^[:alnum:]]' help && touch -- "$opt" done -) ; } +) # Cache options for bc(1) options bc \ -- cgit v1.2.3