diff --git a/src/.config/fish/aliases.fish b/src/.config/fish/aliases.fish index 96cb94c..1440cba 100644 --- a/src/.config/fish/aliases.fish +++ b/src/.config/fish/aliases.fish @@ -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' diff --git a/src/.local/bin/watson-shell b/src/.local/bin/watson-shell new file mode 100755 index 0000000..47d9f20 --- /dev/null +++ b/src/.local/bin/watson-shell @@ -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