achiurizo / consular

Terminal automation
http://rdoc.info/github/achiu/consular/master/file/README.md
MIT License
813 stars 46 forks source link

Fix setting name of a tab so that it doesn't mess with the displayed command history #74

Closed mcmire closed 13 years ago

mcmire commented 13 years ago

See the commit message for more information on what the deal is here.

achiurizo commented 13 years ago

thanks for the fix @mcmire!

mcmire commented 13 years ago

Hmm. I just tested what I wrote with my actual projects I've set up in Terminitor and it seems my fix didn't quite work. I pushed another commit to my branch. It basically wraps the control characters in [ and ] (see here) to tell bash to ignore these. The thing is, it looks like this is a bashism... I'm not sure how it would work on zsh, for people that use that... it looks like the strategy there is to use another command. I don't have zsh though so I can't really test that out. Anyways, [ and ] works on bash at least.