https://github.com/pei0804/direnv-example
https://github.com/pei0804/direnv-example
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/pei0804/direnv-example
- Owner: pei0804
- License: mit
- Created: 2017-10-09T06:38:01.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-10-09T08:40:16.000Z (over 8 years ago)
- Last Synced: 2025-01-20T12:46:14.901Z (over 1 year ago)
- Language: Makefile
- Size: 1.95 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# direnv-example
1.install
```
$ make mac-install
or
$ make win-install
```
2.setting
```
# ~/.bashrc
eval "$(direnv hook bash)"
```
```
# ~/.zshrc
eval "$(direnv hook zshrc)"
```
```
# ~/.config/fish/config.fish
eval (direnv hook fish)
```
```
# ~/.cshrc
eval `direnv hook tcsh`
```
3.direnv run
```
$ make direnv
```
4.run
```
make run
```