Last active
          July 25, 2022 22:45 
        
      - 
      
- 
        Save netj/f76dffced1995a10a4c455d8418ed47d to your computer and use it in GitHub Desktop. 
    zprofile for using latest bash instead of zsh
  
        
  
    
      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
    
  
  
    
  | # ~/.zprofile for launching login shells to latest bash from Homebrew on macOS | |
| # Origin: https://gist.github.com/netj/f76dffced1995a10a4c455d8418ed47d | |
| # | |
| # If you still have old bash (3.x) as your shell, please change it to zsh before using this with: | |
| # chsh -s /bin/zsh | |
| [ -n "${INTELLIJ_ENVIRONMENT_READER-}" ] || # to not interfere with PyCharm or IntelliJ IDEs | |
| PATH="/opt/homebrew/bin:$PATH" exec env -u SHELL bash -il | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment