Tweak sanitizing shell name
Tweak sanitizing shell name

Handles situation when the output is `/bin/shell- args...`. First strip
away the arguments, then the trailing dash.

syndbg/goenv,yyuu/pyenv,cehoffman/rbenv,viclim/rbenv,sebhahn/pyenv,yyyc514/rbenv,jasonkarns/rbenv,cehoffman/pyenv,sstephenson/rbenv,sebhahn/pyenv,sebhahn/pyenv,jrolfs/nodenv,BanzaiMan/pyenv,pyenv/pyenv,jeremy/rbenv,sstephenson/rbenv,jeremy/rbenv,Angeldude/rbenv,BanzaiMan/pyenv,pyenv/pyenv,zmwangx/pyenv,genome-vendor/pyenv,jeremy/rbenv,syndbg/goenv,Angeldude/rbenv,rbenv/rbenv,pyenv/pyenv,cehoffman/pyenv,yyuu/pyenv,cehoffman/nodenv,yyyc514/rbenv,yyyc514/rbenv,jrolfs/nodenv,cehoffman/rbenv,viclim/rbenv,Angeldude/rbenv,cehoffman/nodenv,zmwangx/pyenv,jasonkarns/rbenv,docwhat/rbenv,rbenv/rbenv,nodenv/nodenv,docwhat/rbenv,nodenv/nodenv,syndbg/goenv,OiNutter/nodenv,viclim/rbenv,genome-vendor/pyenv,cehoffman/rbenv,OiNutter/nodenv,syndbg/goenv,jasonkarns/rbenv,sstephenson/rbenv,docwhat/rbenv