aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sh/profile.d/options.sh4
1 files changed, 2 insertions, 2 deletions
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 \