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, 3 insertions, 0 deletions
diff --git a/.config/login.d/10_spell-check.sh b/.config/login.d/10_spell-check.sh
new file mode 100644
index 0000000..9a24b7e
--- /dev/null
+++ b/.config/login.d/10_spell-check.sh
@@ -0,0 +1,3 @@
+if [[ -z "$DICTIONARY" ]] && [[ -n "$LANG" ]]; then
+ export DICTIONARY="${LANG%%.*}"
+fi