Cygwin and zsh: removing "path prefix line"

Posted by Viktor on Super User See other posts from Super User or by Viktor
Published on 2012-09-08T09:10:41Z Indexed on 2012/09/08 9:40 UTC
Read the original article Hit count: 376

Filed under:
|
|

I've installed Cygwin under Windows 7 and I've added the line exec zsh -l to C:\cygwin\home\Viktor\.bash_profile.

Problem is I still get that ugly new line for every command I write:

(Viktor@INET)[2] ~
$ cd D:

(Viktor@INET)[3] /cygdrive/d
$ ls
$RECYCLE.BIN  Program Files (x86)  System Volume Information  Viktor  xampp

(Viktor@INET)[4] /cygdrive/d
$ _

As horizontal space is no concern with 1920 pixels I would like to have the "Linux appearance", something like this viktor@inet> _ or whatever is default. One command shouldn't take three lines. And how do I change the colors?

Edit. I also have Console2 installed, which I have set to use Cygwin, if that's any help.

© Super User or respective owner

Related posts about windows-7

Related posts about cygwin