Update zshrc
This commit is contained in:
parent
d9bd83d62a
commit
4c6afe5b06
1 changed files with 6 additions and 2 deletions
8
zshrc
8
zshrc
|
|
@ -32,7 +32,7 @@ fi
|
|||
### SSH keys
|
||||
# ============
|
||||
|
||||
if mac && [[ "$TERM_PROGRAM" != "vscode" ]]; then
|
||||
if mac && [[ "$TERM_PROGRAM" != "vscode" ]] && [[ -z "$INTELLIJ_ENVIRONMENT_READER" ]]; then
|
||||
ssh-add --apple-load-keychain
|
||||
fi
|
||||
|
||||
|
|
@ -42,9 +42,10 @@ fi
|
|||
custom_paths=(
|
||||
/sbin /usr/sbin
|
||||
/Library/Developer/Toolchains/swift-latest.xctoolchain/usr/bin
|
||||
/usr/local/bin /usr/local/sbin
|
||||
$HOME/Library/Android/sdk/platform-tools
|
||||
$HOME/homebrew/Cellar/python@3.9/3.9.12/Frameworks/Python.framework/Versions/3.9/bin
|
||||
$HOME/go/bin
|
||||
/usr/local/bin /usr/local/sbin
|
||||
$HOME/bin
|
||||
)
|
||||
for dir in $custom_paths; do
|
||||
|
|
@ -100,6 +101,9 @@ if mac; then
|
|||
if [[ -d $HOME/homebrew/opt/openssl@1.1 ]]; then
|
||||
export RUBY_CONFIGURE_OPTS="--with-openssl-dir=$HOME/homebrew/opt/openssl@1.1"
|
||||
fi
|
||||
if [[ -d $HOME/homebrew/opt/libpq/bin ]]; then
|
||||
export PATH="$HOME/homebrew/opt/libpq/bin:$PATH"
|
||||
fi
|
||||
|
||||
# Set Apple Terminal.app resume directory
|
||||
if [[ $TERM_PROGRAM == "Apple_Terminal" ]] && [[ -z "$INSIDE_EMACS" ]] {
|
||||
|
|
|
|||
Loading…
Reference in a new issue