Notes
A minimal zsh prompt which shows the cwd in the left and a % if shell is without privileges and a # if it is ran with privileges and makes that symbol green if exit code is 0 and red if it is not 0.
guest@dotshare [~/groups/shells/zsh] $ ls Minimal-prompt/ | cat
A minimal zsh prompt which shows the cwd in the left and a % if shell is without privileges and a # if it is ran with privileges and makes that symbol green if exit code is 0 and red if it is not 0.