-
Notifications
You must be signed in to change notification settings - Fork 0
/
zshrc
50 lines (35 loc) · 1.43 KB
/
zshrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Path to your oh-my-zsh installation.
# export ZSH=$HOME/.oh-my-zsh
source $HOME/.zsh/environment.zsh
if [[ `uname` == 'Darwin' ]]; then
source $HOME/.zsh/osx.zsh
fi
source $HOME/.zsh/functions.zsh
eval "$(rbenv init -)"
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"
# source $ZSH/oh-my-zsh.sh
# autoloads keychain for ssh
# if command -v keychain >/dev/null 2>&1; then
# eval `keychain --eval --agents ssh -Q --quiet id_rsa`
# fi
# gitignore!
function gi() { curl -s https://www.toptal.com/developers/gitignore/api/$@ ;}
if [[ -f "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then
source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh"
fi
source $HOME/.zsh/overrides.zsh
# all of these insist on being last, so they are.
source $HOME/.zsh/load_scripts.zsh
source $HOME/.zsh/aliases.zsh
# export "SSH_AUTH_SOCK=${HOME}/.gnupg/S.gpg-agent.ssh"
# store key in the login keychain instead of aws-vault managing a hidden keychain
export AWS_VAULT_KEYCHAIN_NAME=login
# tweak session times so you dont have to re-enter passwords every 5min
export AWS_SESSION_TTL=24h
export AWS_ASSUME_ROLE_TTL=1h
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
export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
source /Users/greg/.docker/init-zsh.sh || true # Added by Docker Desktop