Author: Kyle Fuller <inbox@kylefuller.co.uk> 2012-03-01 00:07:49 +0000 +0000
Committer: Kyle Fuller <inbox@kylefuller.co.uk> 2012-03-01 00:07:49 +0000 +0000
Commit: d83186d4971b133a5c8c8dde21caeedd863e7351
Parent: aec42c68fae9dd00925e150887c438d15caabfd4
Load fabric plugin and load plugins instead of checking for them
diff --git a/.gitconfig b/.gitconfig
index ce0f0309f16fcb2c1afc6ceea08572a6dbe47089..34825c11c79bd4e5572541f066d59ebad28ba5fe 100644
--- a/.gitconfig
+++ b/.gitconfig
@@ -11,4 +11,5 @@
[alias]
up = pull --rebase
wip = commit -m 'wip'
+ rev = rev-parse HEAD
diff --git a/.rc b/.rc
index 0715406ccf94e6e6a6091a2b2cc6611dbbdff14a..4cd1ddfc0ec82f12ec527ca7e7e7bbe6f75910ef 100644
--- a/.rc
+++ b/.rc
@@ -1,9 +1,5 @@
# vim: set syntax=sh ts=2 sw=2 et:
-command_exists () {
- type "$1" &> /dev/null;
-}
-
export EDITOR=vim
pycd () {
@@ -40,8 +36,5 @@ }
# Source a local .profile if it exists
[[ -s "$HOME/.profile" ]] && source "$HOME/.profile"
-
-# Run RVM if it is installed
-[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
export PATH=/usr/local/bin:/usr/local/share/python:$PATH
diff --git a/.zshrc b/.zshrc
index 0bab79013711cdf40dbc6242ca7ae88e9a4c986c..bbad6f28cf6c3fc683ed2bea00519b2311fc2880 100644
--- a/.zshrc
+++ b/.zshrc
@@ -6,10 +6,7 @@ export ZSH=$HOME/.oh-my-zsh
export ZSH_THEME="terminalparty"
export DISABLE_AUTO_UPDATE="true"
- plugins=()
- command_exists git && plugins+=git
- command_exists brew && plugins+=brew
- command_exists pacman && plugins+=archlinux
+ plugins=(git brew archlinux fabric)
source $ZSH/oh-my-zsh.sh
fi