add those files ayy

This commit is contained in:
Spotlight 2018-01-11 20:03:00 -06:00
parent 573444d113
commit 3df8a03870
No known key found for this signature in database
GPG key ID: 1677AD4E8EBBBC56
4 changed files with 430 additions and 0 deletions

68
zshrc Normal file
View file

@ -0,0 +1,68 @@
#########
# zplug configuraton
#########
export ZPLUG_HOME=/usr/local/opt/zplug
source $ZPLUG_HOME/init.zsh
zplug "plugins/git", 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.
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" ]]