Update README.md
This commit is contained in:
parent
a91cb475f8
commit
2671bcce8b
1 changed files with 16 additions and 10 deletions
26
README.md
26
README.md
|
@ -2,28 +2,34 @@
|
||||||
|
|
||||||
A collection of various scripts I use frequently enough to justify keeping them in my system PATH.
|
A collection of various scripts I use frequently enough to justify keeping them in my system PATH.
|
||||||
|
|
||||||
I haven't written documentation for all of these scripts. I might in time.
|
I haven't written documentation for all of these scripts. I might in time. Find documentation for some of the highlights below.
|
||||||
|
|
||||||
For now, here's just a few highlights. But first:
|
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
|
1. Clone and enter repository:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Clone the repository
|
|
||||||
git clone https://sij.ai/sij/pathScripts.git
|
git clone https://sij.ai/sij/pathScripts.git
|
||||||
|
cd pathScripts
|
||||||
|
```
|
||||||
|
|
||||||
# Add to PATH on macOS
|
2. Add to your system PATH:
|
||||||
echo 'export PATH="$PATH:$HOME/path/to/pathScripts"' >> ~/.zshrc
|
|
||||||
|
macOS / ZSH:
|
||||||
|
```bash
|
||||||
|
echo "export PATH=\"\$PATH:$PWD\"" >> ~/.zshrc
|
||||||
source ~/.zshrc
|
source ~/.zshrc
|
||||||
|
```
|
||||||
|
|
||||||
# Add to PATH on Debian/Ubuntu
|
Linux / Bash:
|
||||||
echo 'export PATH="$PATH:$HOME/path/to/pathScripts"' >> ~/.bashrc
|
```bash
|
||||||
|
echo "export PATH=\"\$PATH:$PWD\"" >> ~/.bashrc
|
||||||
source ~/.bashrc
|
source ~/.bashrc
|
||||||
```
|
```
|
||||||
|
|
||||||
Make scripts executable:
|
3. Make scripts executable:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cd pathScripts
|
|
||||||
chmod +x *
|
chmod +x *
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue