summaryrefslogtreecommitdiff
path: root/.config/login.d/10_spell-check.sh
diff options
context:
space:
mode:
Diffstat (limited to '.config/login.d/10_spell-check.sh')
-rw-r--r--.config/login.d/10_spell-check.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/.config/login.d/10_spell-check.sh b/.config/login.d/10_spell-check.sh
index 9a24b7e..3f67b8f 100644
--- a/.config/login.d/10_spell-check.sh
+++ b/.config/login.d/10_spell-check.sh
@@ -1,3 +1,4 @@
-if [[ -z "$DICTIONARY" ]] && [[ -n "$LANG" ]]; then
+#!/hint/sh
+if [ -z "$DICTIONARY" ] && [ -n "$LANG" ]; then
export DICTIONARY="${LANG%%.*}"
fi