1
0
Fork 0

.profile: conform aspell to xdg-basedir

main
urosm 2024-07-31 12:57:26 +02:00
parent f4b86a2b07
commit 5c92109015
1 changed files with 7 additions and 0 deletions

View File

@ -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