Skip to content
This repository has been archived by the owner on May 8, 2021. It is now read-only.

NNBnh/status2signal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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