2017-09-28 10:29:03 +00:00
|
|
|
source $HOME/.antigen.zsh
|
2017-09-01 12:43:51 +00:00
|
|
|
source $HOME/.aliases
|
|
|
|
|
2017-09-28 10:38:59 +00:00
|
|
|
# Set $PATH
|
|
|
|
export PATH=$HOME/bin:$PATH
|
|
|
|
|
2020-03-20 11:43:45 +00:00
|
|
|
# Set Golang
|
|
|
|
export PATH=$PATH:/usr/local/go/bin
|
2021-07-11 14:06:47 +00:00
|
|
|
export GOPATH=$HOME/Projects/golang
|
2020-03-20 11:43:45 +00:00
|
|
|
export PATH=$PATH:$GOPATH/bin
|
2021-07-11 14:06:47 +00:00
|
|
|
|
|
|
|
# Set Kubeconfig
|
|
|
|
export KUBECONFIG=$KUBECONFIG:$HOME/Projects/rddl1-kubeconfig.yaml
|
2020-03-20 11:43:45 +00:00
|
|
|
|
2017-09-01 12:43:51 +00:00
|
|
|
# Load the oh-my-zsh's library.
|
|
|
|
antigen use oh-my-zsh
|
|
|
|
|
|
|
|
# Bundles from the default repo (robbyrussell's oh-my-zsh).
|
|
|
|
antigen bundle git
|
|
|
|
antigen bundle heroku
|
|
|
|
antigen bundle pip
|
|
|
|
antigen bundle lein
|
|
|
|
antigen bundle command-not-found
|
2020-07-23 11:32:57 +00:00
|
|
|
antigen bundle kubectl
|
2017-09-01 12:43:51 +00:00
|
|
|
|
|
|
|
# Syntax highlighting bundle.
|
|
|
|
antigen bundle zsh-users/zsh-syntax-highlighting
|
2017-09-28 10:13:46 +00:00
|
|
|
antigen bundle zsh-users/zsh-autosuggestions
|
2017-09-01 12:43:51 +00:00
|
|
|
|
|
|
|
# Load the theme.
|
|
|
|
antigen theme gentoo
|
|
|
|
|
|
|
|
# Tell Antigen that you're done.
|
|
|
|
antigen apply
|
2019-02-11 16:43:02 +00:00
|
|
|
|
|
|
|
# VTE
|
|
|
|
if [ $TILIX_ID ] || [ $VTE_VERSION ]; then
|
|
|
|
source /etc/profile.d/vte.sh
|
|
|
|
fi
|
2020-01-21 09:29:28 +00:00
|
|
|
|
|
|
|
# >>> conda initialize >>>
|
|
|
|
# !! Contents within this block are managed by 'conda init' !!
|
|
|
|
__conda_setup="$('/home/matus/bin/anaconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
|
|
|
|
if [ $? -eq 0 ]; then
|
|
|
|
eval "$__conda_setup"
|
|
|
|
else
|
|
|
|
if [ -f "/home/matus/bin/anaconda3/etc/profile.d/conda.sh" ]; then
|
|
|
|
. "/home/matus/bin/anaconda3/etc/profile.d/conda.sh"
|
|
|
|
else
|
|
|
|
export PATH="/home/matus/bin/anaconda3/bin:$PATH"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
unset __conda_setup
|
|
|
|
# <<< conda initialize <<<
|
2021-07-11 14:06:47 +00:00
|
|
|
#
|
|
|
|
# >>> Lazy NVM >>>
|
|
|
|
|
|
|
|
lazynvm() {
|
|
|
|
unset -f nvm node npm
|
|
|
|
export NVM_DIR=~/.nvm
|
|
|
|
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
|
|
|
|
}
|
|
|
|
|
|
|
|
nvm() {
|
|
|
|
lazynvm
|
|
|
|
nvm $@
|
|
|
|
}
|
|
|
|
|
|
|
|
node() {
|
|
|
|
lazynvm
|
|
|
|
node $@
|
|
|
|
}
|
|
|
|
|
|
|
|
npm() {
|
|
|
|
lazynvm
|
|
|
|
npm $@
|
|
|
|
}
|
|
|
|
|
|
|
|
# <<< Lazy NVM <<<
|