Author: Kyle Fuller <inbox@kylefuller.co.uk> 2012-01-10 02:04:45 +0000 +0000
Committer: Kyle Fuller <inbox@kylefuller.co.uk> 2012-01-10 02:04:45 +0000 +0000
Commit: e90c7cd7bab9456c930bf42fc4778618aaabf043
Parent: 2f38a839bab366b7781eae273d2fc844196433b7
Move zsh specific stuff to .zshrc
diff --git a/.rc b/.rc
index 6a23cec0b3ebcff9fe3ae664f575d7f4d4b16f41..c4bddfc38a0993a3d4564b7eeb5085ea2b51808d 100644
--- a/.rc
+++ b/.rc
@@ -41,20 +41,6 @@ sprungef() {
curl -F "sprunge=@$1" http://sprunge.us
}
-if [ "$SHELL" = "/bin/zsh" ] && [ -s ~/.oh-my-zsh/oh-my-zsh.sh ] ; then
- # Path to your oh-my-zsh configuration.
- export ZSH=$HOME/.oh-my-zsh
- export ZSH_THEME="jreese"
- export DISABLE_AUTO_UPDATE="true"
-
- plugins=()
- command_exists git && plugins+=git
- command_exists brew && plugins+=brew
- command_exists pacman && plugins+=archlinux
-
- source $ZSH/oh-my-zsh.sh
-fi
-
# Source a local .profile if it exists
[[ -s "$HOME/.profile" ]] && source "$HOME/.profile"
diff --git a/.zshrc b/.zshrc
index f487a961906ed0a76de039fd3d896a1e11c48497..1a3c6674b5dc9aa2ec56f5b7fa4be8aff14089ef 100644
--- a/.zshrc
+++ b/.zshrc
@@ -1 +1,15 @@
. ~/.rc
+
+if [ -s ~/.oh-my-zsh/oh-my-zsh.sh ] ; then
+ # Path to your oh-my-zsh configuration.
+ export ZSH=$HOME/.oh-my-zsh
+ export ZSH_THEME="jreese"
+ export DISABLE_AUTO_UPDATE="true"
+
+ plugins=()
+ command_exists git && plugins+=git
+ command_exists brew && plugins+=brew
+ command_exists pacman && plugins+=archlinux
+
+ source $ZSH/oh-my-zsh.sh
+fi