From ea4e9fee175aaa43ce1ffd4d26dac98647b451f1 Mon Sep 17 00:00:00 2001 From: Zachary Billman Date: Mon, 27 Nov 2023 12:19:20 -0500 Subject: [PATCH] Make a function to manage doom dictionary properly. --- fish/.config/fish/config.fish | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/fish/.config/fish/config.fish b/fish/.config/fish/config.fish index 7d2193e..31aa75b 100644 --- a/fish/.config/fish/config.fish +++ b/fish/.config/fish/config.fish @@ -6,8 +6,11 @@ alias lt='eza --tree --icons' alias ls='n -de' -alias enchdoomdictlink='rm ~/.config/enchant/en_US.dic && ln -s ~/.config/doom/dict/zpb-enchant-en_US.dic ~/.config/enchant/en_US.dic' -alias enchdoomdictsortandmerge='sort ~/.config/doom/dict/zpb-enchant-en_US.dic ~/.config/enchant/en_US.dic | uniq > ~/.config/doom/dict/zpb-enchant-en_US.dic' +alias enchdoomdictlink3='rm ~/.config/enchant/en_US.dic && ln -s ~/.config/doom/dict/zpb-enchant-en_US.dic ~/.config/enchant/en_US.dic' +alias enchdoomdictsortandmerge1='sort ~/.config/doom/dict/zpb-enchant-en_US.dic ~/.config/enchant/en_US.dic | uniq > ~/.config/doom/dict/zpb-sorted-and-merged.dic' +alias enchdoomdictreplace2='mv ~/.config/doom/dict/zpb-sorted-and-merged.dic ~/.config/doom/dict/zpb-enchant-en_US.dic' + +alias enchdoomdictaio='enchdoomdictsortandmerge1 && enchdoomdictreplace2 && enchdoomdictlink3' alias gdemacs="sudo rm -r /home/zpb/.config/emacs/eln-cache && emacs" alias gdemacsclient="sudo rm -r /home/zpb/.config/emacs/eln-cache && emacsclient --alternate-editor="" --create-frame"