-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzsh_profile
69 lines (48 loc) · 2.15 KB
/
zsh_profile
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
#@IgnoreInspection BashAddShebang
USERNAME=blairnangle
# shellcheck source=/Users/${USERNAME}/dotfiles/functions
source /Users/${USERNAME}/dotfiles/functions
# If you come from bash you might have to change your $PATH
export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation
export ZSH=/Users/${USERNAME}/.oh-my-zsh
export plugins=(
git
)
source ${ZSH}/oh-my-zsh.sh
# Source my own alias file after sourcing oh-my-zsh to allow my aliases to overwrite any oh-my-zsh aliases with the same names
# shellcheck source=/Users/${USERNAME}/dotfiles/aliases
source /Users/${USERNAME}/dotfiles/aliases
# access Management scripts from anywhere
export PATH=$PATH:/Users/${USERNAME}/kevel/teammgmt/bin
# access infrastructure scripts from anywhere
export PATH=$PATH:/Users/${USERNAME}/kevel/infrastructure/scripts
# access teamengines scripts from anywhere
export PATH=$PATH:/Users/${USERNAME}/kevel/teamengines/bin
# access ah script from anywhere
export PATH=$PATH:/Users/${USERNAME}/kevel/ah/bin
# Needed for autocomplete
autoload -U +X bashcompinit && bashcompinit
# Enable pyenv
eval "$(pyenv init --path)"
PATH="$(pyenv root)/shims:$PATH"
# Use pyenv-installed Python 3 by default
alias python='/Users/${USERNAME}/.pyenv/shims/python3'
alias pip='/Users/${USERNAME}/.pyenv/shims/pip3'
# Maintain the ability to use Python 2
alias python2=/usr/bin/python
alias pip2=/usr/local/bin/pip
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
# Use Starship prompt
eval "$(starship init zsh)"
# Generated for envman. Do not edit.
[ -s "$HOME/.config/envman/load.sh" ] && source "$HOME/.config/envman/load.sh"
# Configure Homebrew for macOS Silicon
export PATH="/opt/homebrew/opt/libpq/bin:$PATH"
# aws configure will not actually set $AWS_DEFAULT_REGION which is required for some commands
export AWS_DEFAULT_REGION=us-east-1
#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
export SDKMAN_DIR="$HOME/.sdkman"
[[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh"