-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathenvs
46 lines (36 loc) · 1.15 KB
/
envs
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
#!/bin/bash
# vi mode
set -o vi
bindkey '^R' history-incremental-search-backward
# docker
# if docker-machine status dev ; then
# eval $(docker-machine env dev)
# fi
DOCKER_VIM_IMAGE=dudymas/toolbox
# AWS
export AWS_DEFAULT_PROFILE=kin
export ECSSH_USER=jeremy
# starship
eval "$(starship init zsh)"
# venv
if which virtualenvwrapper_lazy.sh 2>/dev/null >/dev/null ; then
source $(which virtualenvwrapper_lazy.sh)
fi
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"
export PYENV_HOOK_PATH=makeenv.sh
# NOTE, rustc and rvm have been moved to paths file atm
# direnv
eval "$(direnv hook zsh)"
# pyvenv
if which pyenv > /dev/null; then eval "$(pyenv init -)"; fi
# rbvenv
export RUBY_CONFIGURE_OPTS="--with-openssl-dir=$(brew --prefix [email protected])"
if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi
# nvm
export NVM_DIR="$HOME/.nvm"
[ -s "/opt/homebrew/opt/nvm/nvm.sh" ] && . "/opt/homebrew/opt/nvm/nvm.sh" # This loads nvm
[ -s "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm" ] && . "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm" # This loads nvm bash_completion
# GPG foo
# uncomment if using a tty-style pinentry app
#export GPG_TTY=$(tty)