Skip to content

Instantly share code, notes, and snippets.

@rms1000watt
Created July 23, 2019 22:03
Show Gist options
  • Save rms1000watt/9907143285adb1f73e006d280051faaa to your computer and use it in GitHub Desktop.
Save rms1000watt/9907143285adb1f73e006d280051faaa to your computer and use it in GitHub Desktop.
Direnv Setup
#!/usr/bin/env bash
cat << EOF > ~/.direnvrc
use_ryan () {
touch pizza.txt
echo "hello pizza"
}
EOF
cat << EOF > .envrc
use ryan
export TEST_1=test-val
EOF
direnv allow
pushd
popd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment