From 7d57a117bb0ae893b0b20017fa5d138e74657261 Mon Sep 17 00:00:00 2001 From: Spotlight Date: Sat, 24 Mar 2018 13:56:30 -0500 Subject: [PATCH] Add linux integration --- zshrc | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/zshrc b/zshrc index cccab65..8a159fa 100644 --- a/zshrc +++ b/zshrc @@ -2,8 +2,12 @@ # zplug configuraton ######### -export ZPLUG_HOME=/usr/local/opt/zplug -source $ZPLUG_HOME/init.zsh +if [[ $OSTYPE == darwin* ]]; then + export ZPLUG_HOME=/usr/local/opt/zplug + source $ZPLUG_HOME/init.zsh +elif [[ $OSTYPE == linux* ]]; then + source /usr/share/zsh/scripts/zplug/init.zsh +fi zplug "plugins/git", from:oh-my-zsh zplug "plugins/iterm2", from:oh-my-zsh @@ -73,4 +77,11 @@ export DEVKITPRO=${HOME}/devkitPro export DEVKITPPC=${DEVKITPRO}/devkitPPC export DEVKITARM=${DEVKITPRO}/devkitARM +if [ $TILIX_ID ] || [ $VTE_VERSION ]; then + source /etc/profile.d/vte.sh +fi + [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" ]] + +# Add RVM to PATH for scripting. Make sure this is the last PATH variable change. +export PATH="$PATH:$HOME/.rvm/bin"