Reload bash shell and spacing.
This commit is contained in:
parent
a5eb1da090
commit
ee51e71796
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue