zsh and bash
I just tried out zsh, and I really like its style of completion where it iterates through the possibilites, however, I also like how bash displays my current directory at the prompt. Is there an option I can turn on in one of these shells to combine my preferences?
In every shell there is a variable that sets the way the prompt is displayed. In bash and zsh this is the PS1 variable; you usually set this with a
line in .zshrc. The syntax of the prompt is different in zsh than bash, and is covered in "PROMPT EXPANSION" section of "man zshmisc".
And don't forget PS2, 3 and 4.
I don't think I explained it well. I'll just give an example:
Current bash prompt:
Current zsh prompt:
I'd like the zsh one to look just like the bash one.