Follow

Finally, after many years, finished my prompt structure. A simple and as out of the way as can be, but with all the critical information I need.

PS1 contains user type, background jobs and previous command exit codes. So normally just '% '.

RPS1 hides when user starts typing, it currently shows actual updated time.
Precmd shows execution time, history iD and end time of the previous command.
When cd into a directory information is shown.

PS4 is showing essential program information when debugging a script. This has helped me so much to more effectively find my way.

If you are interested check it out my zsh dotfiles at: codeberg.org/oxo/dotf/src/bran

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.