aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2021-02-28 20:56:37 +0100
committerCharles Cabergs <me@cacharle.xyz>2021-02-28 20:58:54 +0100
commitd2502fc536da34e0c0dd9f690880e82c61ba5585 (patch)
tree3b3ffe0af95cc305af8d1163a254dd6c753ca0af
parent9a330ae3cbeff95f6e02a2503ebd6d24f6024637 (diff)
downloaddotfiles-d2502fc536da34e0c0dd9f690880e82c61ba5585.tar.gz
dotfiles-d2502fc536da34e0c0dd9f690880e82c61ba5585.tar.bz2
dotfiles-d2502fc536da34e0c0dd9f690880e82c61ba5585.zip
Added aspell XDG dirs support
-rw-r--r--config/zsh/aliases.zsh1
-rwxr-xr-xconfig/zsh/zprofile3
2 files changed, 3 insertions, 1 deletions
diff --git a/config/zsh/aliases.zsh b/config/zsh/aliases.zsh
index 15d5894..8b570f5 100644
--- a/config/zsh/aliases.zsh
+++ b/config/zsh/aliases.zsh
@@ -121,6 +121,7 @@ rc() {
filepath="$(find "$HOME/git/dotfiles" -type f -not -path '*.git/*' | fzf)" &&
"$EDITOR" "$filepath"
filename="$(basename "$filepath")"
+ # shellcheck source=/dev/null
[ "$filename" = .zshrc ] ||
[ "$filename" = aliases.zshrc ] ||
[ "$filename" = zprofile ] &&
diff --git a/config/zsh/zprofile b/config/zsh/zprofile
index e18025d..7895db6 100755
--- a/config/zsh/zprofile
+++ b/config/zsh/zprofile
@@ -22,6 +22,7 @@ export ZDOTDIR="$XDG_CONFIG_HOME/zsh"
export XINITRC="$XDG_CONFIG_HOME/x11/xinitrc"
export INPUTRC="$XDG_CONFIG_HOME/readline/inputrc"
export PYTHONSTARTUP="$XDG_CONFIG_HOME/python/startup.py"
+export ASPELL_CONF="per-conf $XDG_CONFIG_HOME/aspell/aspell.conf; personal $XDG_CONFIG_HOME/aspell/en.pws; repl $XDG_CONFIG_HOME/aspell/en.prepl"
# shellcheck disable=SC2016
export VIMINIT='let $MYVIMRC="$XDG_CONFIG_HOME/vim/vimrc" | source $MYVIMRC'
export IPYTHONDIR="$XDG_CONFIG_HOME/ipython"
@@ -55,4 +56,4 @@ export LESS_TERMCAP_ZW=$(tput rsupm)
export MINIKUBE_IN_STYLE=false # disable cringe minikube emojies
-[ "$(tty)" = '/dev/tty1' ] && { startx ; poweroff; }
+[ "$(tty)" = '/dev/tty1' ] && { startx ; poweroff ; }