Created
          July 23, 2019 22:03 
        
      - 
      
- 
        Save rms1000watt/9907143285adb1f73e006d280051faaa to your computer and use it in GitHub Desktop. 
    Direnv Setup
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #!/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