Discussion

Show HN: Interactive Bash Utilities

Hello HN,

After some quick hacking, I have managed to extract some of the things in my .bashrc I find useful to make a library.

Maybe the most interesting part is prompt.sh. It displays the return code of the last command along with an error message. The error message comes from a look-up table using the last command run and the return code.

Please let me know what you want to see in such an utility library.

https://github.com/ertug/bash-utils

4 points ertug 15 years ago 3 comments

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton