Make a function to manage doom dictionary properly.

This commit is contained in:
Zachary Billman 2023-11-27 12:19:20 -05:00
parent 75ec25f78d
commit ea4e9fee17

View File

@ -6,8 +6,11 @@ alias lt='eza --tree --icons'
alias ls='n -de' 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 enchdoomdictlink3='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 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 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" alias gdemacsclient="sudo rm -r /home/zpb/.config/emacs/eln-cache && emacsclient --alternate-editor="" --create-frame"