.dotfiles/configs/.zshrc

75 lines
2.0 KiB
Bash
Raw Normal View History

2020-11-07 14:03:30 +01:00
# INITILIZATION ##
# p10k
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi
ZSH_THEME="powerlevel10k/powerlevel10k"
plugins=(
git
zsh-autosuggestions
)
eval `dircolors ~/.dircolors`
# Load oh my zsh
export ZSH=~/.oh-my-zsh
source $ZSH/oh-my-zsh.sh
## FUNCTIONS ##
2020-11-08 21:55:05 +01:00
source $HOME/.dotfiles/configs/zsh/functions.zsh
2020-11-07 14:03:30 +01:00
2020-11-07 15:58:15 +01:00
## ALIASES ##
2020-11-08 21:55:05 +01:00
source $HOME/.dotfiles/configs/zsh/aliases.sh
2020-11-07 14:03:30 +01:00
## LOADING PROGRAMS
export PATH="$PATH:$HOME/.yarn/bin"
export PATH="$PATH:$HOME/.local/bin"
<<<<<<< HEAD:.zshrc
2021-01-20 21:03:39 +01:00
export GOROOT="$HOME/go"
export GOPATH="$HOME/SYNC"
export PATH="$PATH:$GOROOT/bin"
2020-11-07 14:03:30 +01:00
eval "$(direnv hook zsh)"
#Java version manager
2020-11-07 15:58:15 +01:00
export SDKMAN_DIR="$HOME/.sdkman"
2021-01-20 21:03:39 +01:00
[[ -s "$SDKMAN_DIR/bin/sdkman-init.sh" ]] && source "$SDKMAN_DIR/bin/sdkman-init.sh"
=======
2020-11-30 12:55:23 +01:00
## GO STUFF
export GOROOT="/usr/local/bin/go"
export GOPATH="$HOME/go"
export PATH="$PATH:/usr/local/go/bin:$GOPATH/bin"
2020-11-07 14:03:30 +01:00
2020-11-08 21:55:05 +01:00
[[ -s $(which direnv) ]] && eval "$(direnv hook zsh)"
2020-11-07 14:03:30 +01:00
2020-11-30 12:55:23 +01:00
if [ -s "$HOME/.pyenv" ]; then
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
fi
#Java version manager
2020-11-07 15:58:15 +01:00
export SDKMAN_DIR="$HOME/.sdkman"
2020-11-08 21:55:05 +01:00
[[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh"
>>>>>>> 63919a2fee0f7a41a5f3dd6b89def7847aa42cae:configs/.zshrc
2020-11-07 14:03:30 +01:00
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
# Go version manager
2020-11-30 12:55:23 +01:00
#[[ -s "/$HOME/.gvm/scripts/gvm" ]] && source "/$HOME/.gvm/scripts/gvm"
# Node Version manager
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
2021-01-20 21:03:39 +01:00
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
<<<<<<< HEAD:.zshrc
=======
2020-11-08 21:55:05 +01:00
# To customize prompt, run `p10k configure` or edit ~/.dotfiles/configs/.p10k.zsh.
[[ ! -f ~/.dotfiles/configs/.p10k.zsh ]] || source ~/.dotfiles/configs/.p10k.zsh
>>>>>>> 63919a2fee0f7a41a5f3dd6b89def7847aa42cae:configs/.zshrc