diff --git a/.profile b/.profile index b8e3f9f..943bf6d 100644 --- a/.profile +++ b/.profile @@ -38,6 +38,13 @@ export INPUTRC="$XDG_CONFIG_HOME"/readline/inputrc # .npm/, .npmrc export NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME"/npm/npmrc +# .aspell.conf etc. +aspell_data_dir="$XDG_DATA_HOME"/aspell +if [ ! -d "$aspell_data_dir" ]; then + mkdir -p "$aspell_data_dir" +fi +export ASPELL_CONF="per-conf $XDG_CONFIG_HOME/aspell/aspell.conf; personal $aspell_data_dir/sl.pws; repl $aspell_data_dir/sl.prepl" + # editor export EDITOR=vi