test reload shell
This commit is contained in:
parent
ee51e71796
commit
20cff1353a
|
@ -173,11 +173,12 @@ print_title "Setup local bin for nerd-dictation"
|
||||||
ln -s "$HOME"/.local/nerd-dictation/nerd-dictation "$HOME"/.local/bin
|
ln -s "$HOME"/.local/nerd-dictation/nerd-dictation "$HOME"/.local/bin
|
||||||
|
|
||||||
if [ $? = 0 ]; then
|
if [ $? = 0 ]; then
|
||||||
printwc "${Green}" "Completed script!\n"
|
printwc "${Green}" "Completed script!\n\n"
|
||||||
printwc "${Blue}" "Usage:\n"
|
printwc "${Blue}" "Usage:\n"
|
||||||
printwc "${Purple}" " nerd-dictation begin --vosk-model-dir=./model &\n"
|
printwc "${Purple}" " nerd-dictation begin &\n"
|
||||||
printwc "${Cyan}" " # Start speaking.\n"
|
printwc "${Cyan}" " # Start speaking. #\n"
|
||||||
printwc "${Purple}" " nerd-dictation end\n"
|
printwc "${Purple}" " nerd-dictation end\n"
|
||||||
|
printwc "${Purple}" "\nReload user shell\n"
|
||||||
su - $USER
|
su - $USER
|
||||||
else
|
else
|
||||||
printwc "${Red}" "Something went wrong please check the previous output.\n"
|
printwc "${Red}" "Something went wrong please check the previous output.\n"
|
||||||
|
|
Loading…
Reference in New Issue