Skip to content

Instantly share code, notes, and snippets.

@JLWalsh
Created September 16, 2020 19:31
Show Gist options
  • Save JLWalsh/7efa9fc2ed087a980664162fa45ebc26 to your computer and use it in GitHub Desktop.
Save JLWalsh/7efa9fc2ed087a980664162fa45ebc26 to your computer and use it in GitHub Desktop.
Start WSL with preconfigured environment variables. Useful when embedding a WSL terminal in an editor, where you wouldn't want to use certain programs (ex: tmux, which is enabled by default in my case)
@SET USE_TMUX=false
@SET WSLENV=USE_TMUX/u
@wsl.exe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment