https://github.com/noraworld/bin
A set of self-making commands
https://github.com/noraworld/bin
Last synced: 3 days ago
JSON representation
A set of self-making commands
- Host: GitHub
- URL: https://github.com/noraworld/bin
- Owner: noraworld
- License: mit
- Created: 2017-04-14T06:48:46.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-06-17T11:24:49.000Z (over 7 years ago)
- Last Synced: 2025-01-11T21:28:24.506Z (9 months ago)
- Language: Shell
- Size: 14.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bin
A set of the self-making commands.## How to setup
1. Cloning this repository and run the setup script```sh
$ git clone https://github.com/noraworld/bin
$ cd bin
$ bash setup.sh
```2. Download a path setup script and run it
```sh
$ git clone https://github.com/noraworld/dotfiles/blob/master/bash/bin.bash
$ source dotfiles/bash/bin.bash
```3. Make them executable when sudo mode (Optional)
```sh
$ sudo visudo
``````diff
# Add `/home/username/.bin` path to the end of line of `secure_path`.
# Replace `username` with your own username.
- Defaults secure_path = /usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
+ Defaults secure_path = /usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/home/username/.bin
```## Other
If you want to install additional command line tools like `peco` from other projects, you can put them to `src/local`.