-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.zshrc
executable file
·51 lines (43 loc) · 1.63 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
51
export ZSH=$HOME/.oh-my-zsh
export ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=3"
ZSH_THEME="powerlevel10k/powerlevel10k"
plugins=(git colorize brew mvn gradle pip poetry sudo zsh-autosuggestions zsh-syntax-highlighting kubectl)
. $ZSH/oh-my-zsh.sh
if [ `uname` = "Darwin" ]; then
export DEV=$HOME/Development
export HOMEBREW=/opt/homebrew/bin
export GOPATH=$DEV/prv/go/workspace
export ANDROID=$HOME/Library/Android/sdk
export VIRTUALENVWRAPPER_PYTHON=$HOMEBREW/python3.10
export VIRTUALENVWRAPPER_VIRTUALENV=$HOMEBREW/virtualenv
else
export DEV=$HOME/development
export GOPATH=$DEV/prv/go/sdk
export ANDROID=$DEV/prv/android/sdk
fi
export EDITOR=/usr/bin/vim
export SDKMAN_DIR=$HOME/.sdkman
export WORKON_HOME=$HOME/.virtualenvs
export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
export PATH=$PATH:$HOME/.scripts
export PATH=$PATH:$HOME/.krew/bin
export PATH=$PATH:$GOPATH/bin
export PATH=$PATH:$ANDROID/tools/bin:$ANDROID/platform-tools:$ANDROID/emulator
export PATH=$PATH:$HOME/.poetry/bin
# !!! do not commit work arficatory values below anywhere !!!
export artifactory_repo_key=""
export artifactory_user=""
export artifactory_password=""
# !!! --------------------------------------------------- !!!
. $HOME/.scripts/aliases.sh
. $HOME/.p10k.zsh
. $HOME/.sdkman/bin/sdkman-init.sh
if [ `uname` = "Darwin" ]; then
. $HOMEBREW/virtualenvwrapper.sh
eval "$(ssh-agent -s)" &> /dev/null
eval "$(/opt/homebrew/bin/brew shellenv)"
else
. /usr/bin/virtualenvwrapper.sh
eval "$(ssh-agent -s)" &> /dev/null && ssh-add -k ~/.ssh/id_rsa_df &> /dev/null
# [[ $TERM != "screen" ]] && exec tmux
fi