Update zshrc file
This commit is contained in:
parent
42f58a5d01
commit
a1d51e6e69
1 changed files with 13 additions and 7 deletions
10
zshrc.zsh
10
zshrc.zsh
|
@ -93,7 +93,7 @@ export PATH="$PATH:$HOME/.composer/vendor/bin"
|
||||||
export PATH="$PATH:$HOME/.cargo/bin"
|
export PATH="$PATH:$HOME/.cargo/bin"
|
||||||
|
|
||||||
# Ruby PATH
|
# Ruby PATH
|
||||||
export PATH="/usr/local/opt/ruby/bin:$PATH:$HOME/.gem/ruby/2.4.0/bin"
|
export PATH="$PATH:/usr/local/opt/ruby/bin:$HOME/.gem/ruby/2.4.0/bin"
|
||||||
|
|
||||||
# PostgreSQL binaries
|
# PostgreSQL binaries
|
||||||
test -d /usr/local/pgsql && export PATH="$PATH:/usr/local/pgsql/bin"
|
test -d /usr/local/pgsql && export PATH="$PATH:/usr/local/pgsql/bin"
|
||||||
|
@ -104,6 +104,9 @@ test -d $HOME/.php/bin && export PATH="$PATH:$HOME/.php/bin"
|
||||||
# macOS Python User binaries
|
# macOS Python User binaries
|
||||||
test -d $HOME/Library/Python/3.7/bin && export PATH="$PATH:$HOME/Library/Python/3.7/bin"
|
test -d $HOME/Library/Python/3.7/bin && export PATH="$PATH:$HOME/Library/Python/3.7/bin"
|
||||||
|
|
||||||
|
# JetBrains Toolbox scripts
|
||||||
|
test -d "$HOME/Library/Application Support/JetBrains/Toolbox/scripts" && export PATH="$PATH:$HOME/Library/Application Support/JetBrains/Toolbox/scripts"
|
||||||
|
|
||||||
# Set Homebrew Env variables
|
# Set Homebrew Env variables
|
||||||
export HOMEBREW_NO_ANALYTICS=1
|
export HOMEBREW_NO_ANALYTICS=1
|
||||||
export HOMEBREW_AUTO_UPDATE_SECS=3600
|
export HOMEBREW_AUTO_UPDATE_SECS=3600
|
||||||
|
@ -117,6 +120,7 @@ export LS_COLORS='di=33;40:ln=35;40:so=32;40:pi=33;40:ex=31;40:bd=34;46:cd=34;43
|
||||||
# Add zsh-completions to the fpath
|
# Add zsh-completions to the fpath
|
||||||
# They are packaged correctly for Arch Linux
|
# They are packaged correctly for Arch Linux
|
||||||
test $PLATFORM = 'osx' && fpath=(/usr/local/share/zsh-completions $fpath)
|
test $PLATFORM = 'osx' && fpath=(/usr/local/share/zsh-completions $fpath)
|
||||||
|
test $PLATFORM = 'osx-m1' && fpath=(/opt/homebrew/share/zsh-completions $fpath)
|
||||||
|
|
||||||
# Source my own functions
|
# Source my own functions
|
||||||
test -e $HOME/.zsh/functions.zsh && source $HOME/.zsh/functions.zsh
|
test -e $HOME/.zsh/functions.zsh && source $HOME/.zsh/functions.zsh
|
||||||
|
@ -144,4 +148,6 @@ fi
|
||||||
eval "$(starship init zsh)"
|
eval "$(starship init zsh)"
|
||||||
|
|
||||||
# Fig post block. Keep at the bottom of this file.
|
# Fig post block. Keep at the bottom of this file.
|
||||||
[[ -f "$HOME/.fig/shell/zshrc.post.zsh" ]] && . "$HOME/.fig/shell/zshrc.post.zsh"
|
if [ -f "$HOME/.fig/shell/zshrc.post.zsh" ]; then
|
||||||
|
. "$HOME/.fig/shell/zshrc.post.zsh"
|
||||||
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue