Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zchee/sublime-direnv
Sublime integrate Direnv
https://github.com/zchee/sublime-direnv
Last synced: about 1 month ago
JSON representation
Sublime integrate Direnv
- Host: GitHub
- URL: https://github.com/zchee/sublime-direnv
- Owner: zchee
- Created: 2014-10-05T00:37:03.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2020-11-11T14:32:11.000Z (about 4 years ago)
- Last Synced: 2024-05-02T03:11:18.916Z (7 months ago)
- Language: Python
- Homepage:
- Size: 195 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sublime-direnv
[sublime-gulp](https://github.com/NicoSantangelo/sublime-gulp), [sublime-vagrant](https://github.com/Stubbs/sublime-vagrant), These are awesome package.
But, I use direnv, so not working.That is why I made this.
# Instration
## Package Control
If you have PackageControl installed, you can use it to install the package.## Manual
You can clone the repository in your `/Packages` folder.```
git clone [email protected]:fainder/sublime-direnv.git ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/sublime-direnv
```# Usage
When there is .envrc file to open project, choose `Direnv allow` from the command pallete.## .envrc Sample
Do```
export VAGRANT_IP=192.168.33.10
export THEME_DIR=_theme
export CSS_DIR=_theme/css
export JS_DIR=_theme/js
export SASS_DIR=_theme/sass
export IMG_DIR=_theme/img
```Do not
```
export VAGRANT_IP=192.168.33.10
export THEME_DIR=_theme
export CSS_DIR=$THEME_DIR/css
export JS_DIR=$THEME_DIR/js
export SASS_DIR=$THEME_DIR/sass
export IMG_DIR=$THEME_DIR/img
```# Todo
It later to modify it because I wrote for myself!- [ ] `direnv deny` support.
- [ ] `direnv reload` support.
- [ ] Refactoring.