Tag Archives: shell

zsh

I recently switched to using the zsh instead of bash. The reasons were those comfort functions of zsh, such as: So I installed the packages: zsh, zsh-doc and zsh-lovers. When starting it for the first time, you’ll encounter a configuration tool which asks several questions to make your zsh experience a good one. Bad thing… Read More »

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 »