Tag Archives: zsh

Prompt with 2 directories

bash To only show the last 2 directories in prompt, there are two scripts at the Muffin Research Labs.The best one would be this: Add this to .bash_profile and replace \w by $(PWD) (note the parents!) in your PS1 line in that file. A more comfort version which replaces the home directory by a tilde,… Read More »