From d2502fc536da34e0c0dd9f690880e82c61ba5585 Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Sun, 28 Feb 2021 20:56:37 +0100 Subject: Added aspell XDG dirs support --- config/zsh/aliases.zsh | 1 + config/zsh/zprofile | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) 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 ; } -- cgit