Skip to content

Instantly share code, notes, and snippets.

@kenjikato
Last active September 12, 2020 06:38
Show Gist options
  • Save kenjikato/129e7d21956f29ea1263ca25c75a7da9 to your computer and use it in GitHub Desktop.
Save kenjikato/129e7d21956f29ea1263ca25c75a7da9 to your computer and use it in GitHub Desktop.

Revisions

  1. Kenji Kato revised this gist Sep 12, 2020. 1 changed file with 12 additions and 5 deletions.
    17 changes: 12 additions & 5 deletions .bash_profile
    Original file line number Diff line number Diff line change
    @@ -1,9 +1,16 @@
    # .bash_profile
    #
    # The new Mac OS is now zsh based. The .bash_profile file is still left in place as some older sofware might need it.
    # Nothing found in this file is currently secret

    #
    # NVM setup information
    #

    # Check to see if a .bashrc exsit, and if it does source it.
    # This shouldn't be needed anymore, but leaving it here commented out for histrical purposes.
    # if [ -f ~/.bashrc ]; then
    # source ~/.bashrc
    # fi

    # Setup for NVM
    export NVM_DIR="$HOME/.nvm"
    [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
    [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
    [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
    [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
  2. Kenji Kato created this gist Sep 12, 2020.
    9 changes: 9 additions & 0 deletions .bash_profile
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    # The new Mac OS is now zsh based. The .bash_profile file is still left in place as some older sofware might need it.
    # Nothing found in this file is currently secret

    #
    # NVM setup information
    #
    export NVM_DIR="$HOME/.nvm"
    [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
    [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion