Skip to content

Commit

Permalink
misc/apps: echo to dotty log
Browse files Browse the repository at this point in the history
  • Loading branch information
ztlevi committed Jul 2, 2024
1 parent 8769fd1 commit fd66879
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion config
Submodule config updated 2 files
+2 −0 env
+5 −7 shell/zsh/utils.zsh
7 changes: 4 additions & 3 deletions misc/apps/_init
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,10 @@ link() {

# Add custom words to languagetool and restart server
if [[ -f $DOTTY_ASSETS_HOME/languagetool/spelling_custom.txt ]]; then
cp -f $DOTTY_ASSETS_HOME/languagetool/spelling_custom.txt \
$(brew --prefix languagetool)/libexec/org/languagetool/resource/en/hunspell/
echo-info "If you want to restart languatetool service, use 'brew services restart languagetool'"
local dict_dir="$(brew --prefix languagetool)/libexec/org/languagetool/resource/en/hunspell/"
mkdir -p "${dict_dir}"
cp -f $DOTTY_ASSETS_HOME/languagetool/spelling_custom.txt "${dict_dir}"
echo "If you want to restart languatetool service, use 'brew services restart languagetool'" > $DOTTY_UPDATE_LOG
fi
}

Expand Down

0 comments on commit fd66879

Please sign in to comment.