Issue
How to you configure the command prompt in Linux to show current directory? I want to be able to put settings for this in the .zshrc file.
Solution
You can place this to your .zshrc
file
export PS1="%d %% "
%d
denotes the CWD
For more details go here for example
Answered By – Jiri Kremser
This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0