An open API service indexing awesome lists of open source software.

https://github.com/willayy/zsh-scripts

A collection of two small Z-Shell scripts.
https://github.com/willayy/zsh-scripts

zsh zshrc

Last synced: 2 months ago
JSON representation

A collection of two small Z-Shell scripts.

Awesome Lists containing this project

README

        

# zsh-scripts
Two small toy shell scripts for adding and removing directories from the .zshrc file.

### Installation
1. Clone the repository and place zpathm in your user directory which should be `Users/yourname/..`.

2. Add the following line to your `.zshrc` file, if you cant see it press `CMD + SHIFT + .` to show hidden files.:

```sh
export PATH=~/zpathm/bin:$PATH
```

3. You might need to give the script execution permissions by running `chmod +x ~/zpathm/bin/atzshrc && chmod +x ~/zpathm/bin/rfzshrc`.

4. Restart your terminal or run `source ~/.zshrc` to apply the changes.

5. Run `atzshrc` to confirm the installation has succeeded. Yoy should see the following output:

```sh
Usage: atzshrc [--verbose]
```