https://github.com/blairnangle/bash-tools
https://github.com/blairnangle/bash-tools
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/blairnangle/bash-tools
- Owner: blairnangle
- Created: 2019-02-12T21:02:14.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-12T21:16:55.000Z (over 6 years ago)
- Last Synced: 2025-01-25T11:41:56.255Z (4 months ago)
- Language: Shell
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# bash-tools
### Getting started
The below instructions assume you are using a Unix environment with some sort of shell (bash, zsh, etc.)* Clone this project into your parent project directory and rename occurrences of ``, etc. accordingly
* Create a file: `~/._profile`
* Add the following code to `_profile`,
```bash
meta_function() {
(cd /Users///bash-tools && ./meta_function "$@")
}alias meta=meta_function;
```
* Add the following line to the top of your `.zshrc` or `.bash_profile` file (you can find out which one is appropriate by running `echo $SHELL`),
```bash
source /Users//._profile
```
* _Source_ your relevant profile, e.g. `source ~/.zshrc`, or just quit your shell application and reopen it to feel the benefit of your changes
* You should now be able to run `meta help` from any directory to see a list of possible commands