/status2signal

๐Ÿ“ก Status code to signal name converter

Primary LanguageShellGNU General Public License v3.0GPL-3.0

status2signal

Status code to signal name converter

License: GPL-3.0 Development completed

๐Ÿ’ก About

status2signal is a tool to convert status code to signal name written in portable sh inspired by Fish's fish_status_to_signal command.

๐Ÿš€ Setup

๐Ÿงพ Dependencies

  • sh to process

๐Ÿ“ฅ Installation

๐Ÿ”ง Manually

  • Option 1: using curl
curl https://raw.githubusercontent.com/NNBnh/status2signal/main/bin/status2signal > ~/.local/bin/status2signal
chmod +x ~/.local/bin/status2signal
  • Option 2: using git
git clone https://github.com/NNBnh/status2signal.git ~/.local/share/status2signal
ln -s ~/.local/share/status2signal/bin/status2signal ~/.local/bin/status2signal

๐Ÿ“ฆ Package manager

For bpkg user:

bpkg install NNBnh/status2signal

For Basher user:

basher install NNBnh/status2signal

If you can and want to port status2signal to other package managers, feel free to do so.

โŒจ๏ธ Usage

Run 'status2signal' in the terminal:

status2signal STATUSCODES

๐Ÿ’Œ Credits

Special thanks to:






Made with โค๏ธ by NNB

Buy Me a Coffee