I have some shell functions which allow me to quickly open something in my browser, for example:
issue () {
if [[ -z "$1" ]]
then
xdg-open "https://github.com/myname/myrepo/issues/$(git branch | grep '*' | grep -Poh '\d+')"
else
xdg-open "https://github.com/myname/myname/issues/$1"
fi
}
This function loads in my shell startup scripts and it works fine, the repo issue opens in my browser as expected, however I have to manually exit from the function in my terminal with ctrl + c before I'm able to type again in my terminal.