ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Direnv

by zchee ST3

Sublime integrate Direnv

Details

Installs

  • Total 212
  • Win 66
  • Mac 87
  • Linux 59
Feb 29 Feb 28 Feb 27 Feb 26 Feb 25 Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9 Feb 8 Feb 7 Feb 6 Feb 5 Feb 4 Feb 3 Feb 2 Feb 1 Jan 31 Jan 30 Jan 29 Jan 28 Jan 27 Jan 26 Jan 25 Jan 24 Jan 23 Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15
Windows 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1

Readme

Source
raw.​githubusercontent.​com

Sublime-direnv

sublime-gulp, 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 git@github.com: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.