watson-shell: added script

also added 'pyenv' fish alias
This commit is contained in:
dogeystamp 2023-03-08 14:05:34 -05:00
parent f4330f48bf
commit 663c3e0587
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38
2 changed files with 22 additions and 0 deletions

View File

@ -30,3 +30,5 @@ alias neomutt.disroot='neomutt -F .config/neomutt/neomuttrc.disroot'
# Specific to my Gentoo system
alias genlop='doas -u portage /usr/bin/genlop'
alias loginctl='doas /bin/loginctl'
alias pyenv='source ~/dox/proj/ref/venv/bin/activate.fish'

20
src/.local/bin/watson-shell Executable file
View File

@ -0,0 +1,20 @@
#!/bin/fish
# thing for running watson subcommands quickly
pyenv
prod.sh &
while true
read -S -p 'set_color green; echo -n watson; set_color normal; echo "> "' -c "watson " CMD
if test "$CMD" = "exit"
or test "$CMD" = "watson exit"
or test "$CMD" = "watson quit"
break
end
eval $CMD
end
kill %1