Reload bash shell and spacing.

This commit is contained in:
Luis Guzmán 2023-10-24 21:43:20 -06:00
parent a5eb1da090
commit ee51e71796
1 changed files with 6 additions and 6 deletions

View File

@ -171,14 +171,14 @@ print_title "Setup local bin for nerd-dictation"
#--------------------------------------------------
[ ! -d "$HOME"/.local/bin ] && mkdir "$HOME"/.local/bin
ln -s "$HOME"/.local/nerd-dictation/nerd-dictation "$HOME"/.local/bin
source "$HOME"/.bashrc
if [ $? = 0 ]; then
printwc "${Green}" "Completed script!"
printwc "${Blue}" "Usage:"
printwc "${Purple}" " nerd-dictation begin --vosk-model-dir=./model &"
printwc "${Cyan}" " # Start speaking."
printwc "${Purple}" " nerd-dictation end"
printwc "${Green}" "Completed script!\n"
printwc "${Blue}" "Usage:\n"
printwc "${Purple}" " nerd-dictation begin --vosk-model-dir=./model &\n"
printwc "${Cyan}" " # Start speaking.\n"
printwc "${Purple}" " nerd-dictation end\n"
su - $USER
else
printwc "${Red}" "Something went wrong please check the previous output.\n"
fi