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

Direnv

by misuzu ST3 MacLinux

direnv integration for Sublime Text 4

Details

Installs

  • Total 706
  • Win 79
  • Mac 347
  • Linux 280
Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6 Aug 5
Windows 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 0 0 0 0
Mac 0 0 0 0 0 0 0 1 0 0 2 0 0 1 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0
01234Sep 18Sep 15Sep 12Sep 9Sep 6Sep 3Aug 31Aug 28Aug 25Aug 22Aug 19Aug 16Aug 13Aug 10Aug 7Sep 18 Linux: 0 Mac: 0 Windows: 0Sep 17 Linux: 0 Mac: 0 Windows: 0Sep 16 Linux: 0 Mac: 0 Windows: 0Sep 15 Linux: 0 Mac: 0 Windows: 0Sep 14 Linux: 0 Mac: 0 Windows: 0Sep 13 Linux: 1 Mac: 0 Windows: 0Sep 12 Linux: 0 Mac: 0 Windows: 0Sep 11 Linux: 0 Mac: 1 Windows: 0Sep 10 Linux: 0 Mac: 0 Windows: 0Sep 9 Linux: 1 Mac: 0 Windows: 0Sep 8 Linux: 0 Mac: 2 Windows: 0Sep 7 Linux: 0 Mac: 0 Windows: 0Sep 6 Linux: 0 Mac: 0 Windows: 0Sep 5 Linux: 0 Mac: 1 Windows: 0Sep 4 Linux: 0 Mac: 0 Windows: 0Sep 3 Linux: 0 Mac: 0 Windows: 0Sep 2 Linux: 0 Mac: 0 Windows: 0Sep 1 Linux: 0 Mac: 0 Windows: 0Aug 31 Linux: 0 Mac: 0 Windows: 0Aug 30 Linux: 0 Mac: 0 Windows: 0Aug 29 Linux: 1 Mac: 0 Windows: 0Aug 28 Linux: 0 Mac: 1 Windows: 0Aug 27 Linux: 0 Mac: 0 Windows: 0Aug 26 Linux: 0 Mac: 0 Windows: 0Aug 25 Linux: 0 Mac: 0 Windows: 0Aug 24 Linux: 0 Mac: 1 Windows: 0Aug 23 Linux: 0 Mac: 0 Windows: 0Aug 22 Linux: 0 Mac: 0 Windows: 0Aug 21 Linux: 0 Mac: 0 Windows: 0Aug 20 Linux: 1 Mac: 0 Windows: 0Aug 19 Linux: 0 Mac: 0 Windows: 0Aug 18 Linux: 0 Mac: 0 Windows: 0Aug 17 Linux: 0 Mac: 0 Windows: 0Aug 16 Linux: 1 Mac: 0 Windows: 0Aug 15 Linux: 0 Mac: 0 Windows: 0Aug 14 Linux: 0 Mac: 0 Windows: 0Aug 13 Linux: 0 Mac: 0 Windows: 0Aug 12 Linux: 0 Mac: 0 Windows: 0Aug 11 Linux: 0 Mac: 0 Windows: 0Aug 10 Linux: 1 Mac: 0 Windows: 0Aug 9 Linux: 0 Mac: 0 Windows: 0Aug 8 Linux: 0 Mac: 0 Windows: 0Aug 7 Linux: 0 Mac: 0 Windows: 0Aug 6 Linux: 0 Mac: 0 Windows: 0Aug 5 Linux: 0 Mac: 0 Windows: 0Sep 18 Linux: 0 Mac: 0 Windows: 0Sep 17 Linux: 0 Mac: 0 Windows: 0Sep 16 Linux: 0 Mac: 0 Windows: 0Sep 15 Linux: 0 Mac: 0 Windows: 0Sep 14 Linux: 0 Mac: 0 Windows: 0Sep 13 Linux: 1 Mac: 0 Windows: 0Sep 12 Linux: 0 Mac: 0 Windows: 0Sep 11 Linux: 0 Mac: 1 Windows: 0Sep 10 Linux: 0 Mac: 0 Windows: 0Sep 9 Linux: 1 Mac: 0 Windows: 0Sep 8 Linux: 0 Mac: 2 Windows: 0Sep 7 Linux: 0 Mac: 0 Windows: 0Sep 6 Linux: 0 Mac: 0 Windows: 0Sep 5 Linux: 0 Mac: 1 Windows: 0Sep 4 Linux: 0 Mac: 0 Windows: 0Sep 3 Linux: 0 Mac: 0 Windows: 0Sep 2 Linux: 0 Mac: 0 Windows: 0Sep 1 Linux: 0 Mac: 0 Windows: 0Aug 31 Linux: 0 Mac: 0 Windows: 0Aug 30 Linux: 0 Mac: 0 Windows: 0Aug 29 Linux: 1 Mac: 0 Windows: 0Aug 28 Linux: 0 Mac: 1 Windows: 0Aug 27 Linux: 0 Mac: 0 Windows: 0Aug 26 Linux: 0 Mac: 0 Windows: 0Aug 25 Linux: 0 Mac: 0 Windows: 0Aug 24 Linux: 0 Mac: 1 Windows: 0Aug 23 Linux: 0 Mac: 0 Windows: 0Aug 22 Linux: 0 Mac: 0 Windows: 0Aug 21 Linux: 0 Mac: 0 Windows: 0Aug 20 Linux: 1 Mac: 0 Windows: 0Aug 19 Linux: 0 Mac: 0 Windows: 0Aug 18 Linux: 0 Mac: 0 Windows: 0Aug 17 Linux: 0 Mac: 0 Windows: 0Aug 16 Linux: 1 Mac: 0 Windows: 0Aug 15 Linux: 0 Mac: 0 Windows: 0Aug 14 Linux: 0 Mac: 0 Windows: 0Aug 13 Linux: 0 Mac: 0 Windows: 0Aug 12 Linux: 0 Mac: 0 Windows: 0Aug 11 Linux: 0 Mac: 0 Windows: 0Aug 10 Linux: 1 Mac: 0 Windows: 0Aug 9 Linux: 0 Mac: 0 Windows: 0Aug 8 Linux: 0 Mac: 0 Windows: 0Aug 7 Linux: 0 Mac: 0 Windows: 0Aug 6 Linux: 0 Mac: 0 Windows: 0Aug 5 Linux: 0 Mac: 0 Windows: 0Sep 18 Linux: 0 Mac: 0 Windows: 0Sep 17 Linux: 0 Mac: 0 Windows: 0Sep 16 Linux: 0 Mac: 0 Windows: 0Sep 15 Linux: 0 Mac: 0 Windows: 0Sep 14 Linux: 0 Mac: 0 Windows: 0Sep 13 Linux: 1 Mac: 0 Windows: 0Sep 12 Linux: 0 Mac: 0 Windows: 0Sep 11 Linux: 0 Mac: 1 Windows: 0Sep 10 Linux: 0 Mac: 0 Windows: 0Sep 9 Linux: 1 Mac: 0 Windows: 0Sep 8 Linux: 0 Mac: 2 Windows: 0Sep 7 Linux: 0 Mac: 0 Windows: 0Sep 6 Linux: 0 Mac: 0 Windows: 0Sep 5 Linux: 0 Mac: 1 Windows: 0Sep 4 Linux: 0 Mac: 0 Windows: 0Sep 3 Linux: 0 Mac: 0 Windows: 0Sep 2 Linux: 0 Mac: 0 Windows: 0Sep 1 Linux: 0 Mac: 0 Windows: 0Aug 31 Linux: 0 Mac: 0 Windows: 0Aug 30 Linux: 0 Mac: 0 Windows: 0Aug 29 Linux: 1 Mac: 0 Windows: 0Aug 28 Linux: 0 Mac: 1 Windows: 0Aug 27 Linux: 0 Mac: 0 Windows: 0Aug 26 Linux: 0 Mac: 0 Windows: 0Aug 25 Linux: 0 Mac: 0 Windows: 0Aug 24 Linux: 0 Mac: 1 Windows: 0Aug 23 Linux: 0 Mac: 0 Windows: 0Aug 22 Linux: 0 Mac: 0 Windows: 0Aug 21 Linux: 0 Mac: 0 Windows: 0Aug 20 Linux: 1 Mac: 0 Windows: 0Aug 19 Linux: 0 Mac: 0 Windows: 0Aug 18 Linux: 0 Mac: 0 Windows: 0Aug 17 Linux: 0 Mac: 0 Windows: 0Aug 16 Linux: 1 Mac: 0 Windows: 0Aug 15 Linux: 0 Mac: 0 Windows: 0Aug 14 Linux: 0 Mac: 0 Windows: 0Aug 13 Linux: 0 Mac: 0 Windows: 0Aug 12 Linux: 0 Mac: 0 Windows: 0Aug 11 Linux: 0 Mac: 0 Windows: 0Aug 10 Linux: 1 Mac: 0 Windows: 0Aug 9 Linux: 0 Mac: 0 Windows: 0Aug 8 Linux: 0 Mac: 0 Windows: 0Aug 7 Linux: 0 Mac: 0 Windows: 0Aug 6 Linux: 0 Mac: 0 Windows: 0Aug 5 Linux: 0 Mac: 0 Windows: 0

Readme

Source
raw.​githubusercontent.​com

direnv integration for Sublime Text 4

This plugin adds support for direnv to Sublime Text 4.

Prerequisites

This plugin needs direnv installed to work. Please refer here for installation instructions.

Installation

You can install via Sublime Package Control plugin:

  • Press (ctrl|cmd)+shift+p to view the Command Palette in Sublime Text.
  • Type the command Package Control: Install Package
  • Type the name Direnv and choose it from the list.

Usage

This plugin will automatically load a .envrc file to the environment if you allowed it to.

Commands

In order to run a command press (ctrl|cmd)+shift+p to view the Command Palette. There type:

  • direnv allow to allow and load the current .envrc
  • direnv deny to deny and unload the current .envrc
  • direnv clear cache to clear filesystem cache

Limitations

Since ST doesn't have an API to delay the loading of other plugins, when using nix to declare dependencies for your project, plugins like LSP-rust-analyzer won't be able to find them. If you encounter this issue, you can try to open your project directory in ST, open your README, .envrc or some other unrelated file and wait for direnv to load before opening your source code files.