Last active
December 26, 2021 17:46
-
-
Save RafikFarhad/1fba93656a798a00dcfda4b2586d9dcd to your computer and use it in GitHub Desktop.
Revisions
-
RafikFarhad revised this gist
Dec 26, 2021 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -11,8 +11,8 @@ else fi # php export PATH=$PATH:$/usr/local/opt/[email protected]/bin export PATH=$PATH:/usr/local/opt/[email protected]/sbin # nvm [ -s "/usr/local/opt/nvm/nvm.sh" ] && \. "/usr/local/opt/nvm/nvm.sh" # This loads nvm -
RafikFarhad revised this gist
Dec 26, 2021 . 1 changed file with 7 additions and 6 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,6 @@ source /Users/farhad/.my-dot-files/zshrc.conf source /Users/farhad/.my-dot-files/legacy/.aliases if [[ $(uname -m) == "x86_64" ]]; then echo "x86_64 detected" export PATH=/usr/local/Homebrew/bin:$PATH @@ -11,10 +10,9 @@ else export PATH=/opt/homebrew/bin:$PATH fi # php export PATH="$PATH:$/usr/local/opt/[email protected]/bin:$PATH" export PATH="$PATH:/usr/local/opt/[email protected]/sbin:$PATH" # nvm [ -s "/usr/local/opt/nvm/nvm.sh" ] && \. "/usr/local/opt/nvm/nvm.sh" # This loads nvm @@ -26,4 +24,7 @@ export NVM_DIR=~/.nvm # The next line updates PATH for the Google Cloud SDK. if [ -f '/usr/local/google/google-cloud-sdk/path.zsh.inc' ]; then . '/usr/local/google/google-cloud-sdk/path.zsh.inc'; fi # The next line enables shell command completion for gcloud. if [ -f '/usr/local/google/google-cloud-sdk/completion.zsh.inc' ]; then . '/usr/local/google/google-cloud-sdk/completion.zsh.inc'; fi # Add RVM to PATH for scripting. Make sure this is the last PATH variable change. export PATH="$PATH:$HOME/.rvm/bin" -
RafikFarhad created this gist
Dec 26, 2021 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,29 @@ source /Users/farhad/.my-dot-files/zshrc.conf source /Users/farhad/.my-dot-files/legacy/.aliases # exports if [[ $(uname -m) == "x86_64" ]]; then echo "x86_64 detected" export PATH=/usr/local/Homebrew/bin:$PATH else echo "arm64 detected" # the following line prioritize the arm brew's installation export PATH=/opt/homebrew/bin:$PATH fi # Add RVM to PATH for scripting. Make sure this is the last PATH variable change. export PATH="$PATH:$HOME/.rvm/bin" echo 'export PATH="/usr/local/opt/[email protected]/bin:$PATH"' >> ~/.zshrc echo 'export PATH="/usr/local/opt/[email protected]/sbin:$PATH"' >> ~/.zshrc # nvm [ -s "/usr/local/opt/nvm/nvm.sh" ] && \. "/usr/local/opt/nvm/nvm.sh" # This loads nvm [ -s "/usr/local/opt/nvm/etc/bash_completion.d/nvm" ] && \. "/usr/local/opt/nvm/etc/bash_completion.d/nvm" # This loads nvm bash_completion export NVM_DIR=~/.nvm # gcloud # The next line updates PATH for the Google Cloud SDK. if [ -f '/usr/local/google/google-cloud-sdk/path.zsh.inc' ]; then . '/usr/local/google/google-cloud-sdk/path.zsh.inc'; fi # The next line enables shell command completion for gcloud. if [ -f '/usr/local/google/google-cloud-sdk/completion.zsh.inc' ]; then . '/usr/local/google/google-cloud-sdk/completion.zsh.inc'; fi