2
votes
3answers
377 views

What's wrong with this bash prompt?

I use the following entry in ~/.bashrc file to colorize the prompt and display current branch of git repository: PS1='\[\e[1;32m\]\[\u@\h\]\[\e[m\] \[\w\]\[\e[1;1m\]\[$(__git_ps1 " (%s)")\] ...
2
votes
4answers
429 views

How can I copy sanely (not using “Mark”) from the Windows command prompt

Given a very long single command at the command line in Windows, I'd like to simply copy that command into clipboard. I am just looking for the ubiquitous Shift-End , Ctrl-C type functionality almost ...