[add] Init

This commit is contained in:
2024-08-07 13:46:01 -07:00
commit 323d9a7b25
7 changed files with 647 additions and 0 deletions

18
README.md Normal file
View File

@@ -0,0 +1,18 @@
## Install
First, make sure `~/bin` exists and is in your PATH
```bash
mkdir -p ~/bin
echo 'export PATH="$HOME/bin:$PATH"' >> ~/.bashrc # or ~/.zshrc if you use zsh
source ~/.bashrc # or source ~/.zshrc
```
Create a symlink to the wrapper script
```bash
ln -s /full/path/to/your/project/code_to_prompt.sh ~/bin/code_to_prompt
```
Now you can run your script from anywhere by simply typing:
```bash
code_to_prompt --path /path/to/process --ignore custom_folder
```