72 lines
1.6 KiB
Bash
72 lines
1.6 KiB
Bash
#########
|
|
# zplug configuraton
|
|
#########
|
|
|
|
export ZPLUG_HOME=/usr/local/opt/zplug
|
|
source $ZPLUG_HOME/init.zsh
|
|
|
|
zplug "plugins/git", from:oh-my-zsh
|
|
zplug "plugins/iterm2", from:oh-my-zsh
|
|
zplug "lib/completion", from:oh-my-zsh
|
|
zplug "lib/directories", from:oh-my-zsh
|
|
|
|
# Stuff that modifies
|
|
zplug "zsh-users/zsh-syntax-highlighting", defer:3
|
|
zplug "zsh-users/zsh-autosuggestions", defer:3
|
|
zplug "zsh-users/zsh-completions", defer:3
|
|
|
|
setopt prompt_subst # Make sure prompt is able to be generated properly.
|
|
setopt auto_cd # Get that ~ in here.
|
|
zplug "caiogondim/bullet-train.zsh", use:bullet-train.zsh-theme, defer:3
|
|
|
|
# Configure prompt to my liking.
|
|
BULLETTRAIN_PROMPT_ORDER=(
|
|
time
|
|
status
|
|
custom
|
|
context
|
|
dir
|
|
screen
|
|
ruby
|
|
go
|
|
git
|
|
)
|
|
|
|
# Install plugins if there are plugins that have not been installed
|
|
if ! zplug check --verbose; then
|
|
printf "Install? [y/N]: "
|
|
if read -q; then
|
|
echo; zplug install
|
|
fi
|
|
fi
|
|
|
|
# Let's do this.
|
|
zplug load
|
|
|
|
#########
|
|
# the env _essentials_
|
|
#########
|
|
|
|
# Local stuff, homebrew python, theos
|
|
export PATH="${HOME}/bin:/usr/local/opt/theos/python/libexec/bin:${PATH}"
|
|
export EDITOR=nano
|
|
|
|
# Google Cloud tools
|
|
source ${HOME}/bin/google-cloud-sdk/completion.zsh.inc
|
|
source ${HOME}/bin/google-cloud-sdk/path.zsh.inc
|
|
|
|
# Go
|
|
export GOPATH=${HOME}/go
|
|
export PATH=${GOPATH}/bin:${PATH}
|
|
|
|
# theos
|
|
export THEOS=/usr/local/opt/theos
|
|
export PATH=${THEOS}/bin:$PATH
|
|
export THEOS_DEVICE_IP=192.168.1.167 THEOS_DEVICE_PORT=22
|
|
|
|
# devkitPro and the like
|
|
export DEVKITPRO=${HOME}/devkitPro
|
|
export DEVKITPPC=${DEVKITPRO}/devkitPPC
|
|
export DEVKITARM=${DEVKITPRO}/devkitARM
|
|
|
|
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" ]]
|