irongit

a bin full of cool programs

making better

huncholanehuncholaneauthored
parent 9f46e5bcommit 66711b0a3840e73dc957f490f4812e34763782e9Browse files

3 files changed, +28 -0

+22-0README.md
@@ -1 +1,23 @@
11 # hygobin
2+
3+## Requirements
4+
5+- hygobin uses some python libraries so you may need to run
6+
7+ `pip install click`
8+
9+## Start Now
10+
11+```
12+git clone https://github.com/huncholane/hygobin ~/.hygobin
13+echo "\n#Enable hygobin scripts
14+echo "chmod +x -R ~/.hygobin/bin" >> ~/.bashrc
15+echo "export PATH="$PATH:$HOME/.hygobin/bin\n" >> ~/.bashrc
16+```
17+
18+## The scripts
19+
20+- `codebin` Open hygobin with vscode.
21+- `showascii` Shows color capabilities of bash.
22+- `gcom` faster way to commit from the terminal. Adds and commits at the same time.
23+- `dcomp` docker compose shortcuts.
+2-0bin/codebin
@@ -0,0 +1,2 @@
1+#!/bin/bash
2+code ~/.hygobin/bin
+4-0bin/showascii
@@ -0,0 +1,4 @@
1+#!/bin/bash
2+for i in {0..255}; do printf "\e[38;5;${i}m%4d " $i; ((i%16==15)) && echo ""; done; echo -e "\e[0m"
3+
4+echo "Use these colors with \\e[38;5;NUMmMESSAGE\\e[0m"