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
|
[ ! -d "$HOME"/.local/bin ] && mkdir "$HOME"/.local/bin
|
||||||
ln -s "$HOME"/.local/nerd-dictation/nerd-dictation "$HOME"/.local/bin
|
ln -s "$HOME"/.local/nerd-dictation/nerd-dictation "$HOME"/.local/bin
|
||||||
source "$HOME"/.bashrc
|
|
||||||
|
|
||||||
if [ $? = 0 ]; then
|
if [ $? = 0 ]; then
|
||||||
printwc "${Green}" "Completed script!"
|
printwc "${Green}" "Completed script!\n"
|
||||||
printwc "${Blue}" "Usage:"
|
printwc "${Blue}" "Usage:\n"
|
||||||
printwc "${Purple}" " nerd-dictation begin --vosk-model-dir=./model &"
|
printwc "${Purple}" " nerd-dictation begin --vosk-model-dir=./model &\n"
|
||||||
printwc "${Cyan}" " # Start speaking."
|
printwc "${Cyan}" " # Start speaking.\n"
|
||||||
printwc "${Purple}" " nerd-dictation end"
|
printwc "${Purple}" " nerd-dictation end\n"
|
||||||
|
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"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue