Hacker News new | ask | show | jobs
by TheAdamist 36 days ago
I always change my bash PS1 prompt to include the exit code of the previous command, makes experimenting to write scripts so much easier.

I also include the runtime of the previous command which is useful to find out how long commands take without having to remember to time each one.

1 comments

Hah, I do the exact same. (Only in zsh.)