.profile: conform aspell to xdg-basedir
parent
f4b86a2b07
commit
5c92109015
7
.profile
7
.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
|
||||
|
||||
|
|
Loading…
Reference in New Issue