From 7097e0c858defc460bb5026e94d73880f370947c Mon Sep 17 00:00:00 2001 From: Locojay Date: Mon, 23 May 2011 20:04:40 -0400 Subject: [PATCH] adding autojump --- plugins/autojump/autojump.plugin.zsh | 3 +++ zshrc | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 plugins/autojump/autojump.plugin.zsh diff --git a/plugins/autojump/autojump.plugin.zsh b/plugins/autojump/autojump.plugin.zsh new file mode 100644 index 000000000..da0a12765 --- /dev/null +++ b/plugins/autojump/autojump.plugin.zsh @@ -0,0 +1,3 @@ +if [ -f `brew --prefix`/etc/autojump ]; then + . `brew --prefix`/etc/autojump +fi diff --git a/zshrc b/zshrc index f861dfd89..b633ce742 100644 --- a/zshrc +++ b/zshrc @@ -22,14 +22,14 @@ MODE_INDICATOR="%{$fg_bold[cyan]%}-- CMD MODE -- $R" # Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*) # Example format: plugins=(rails git textmate ruby lighthouse) -plugins=(git git-flow gem brew vi-mode pip osx syntax-highlighting extract) +plugins=(git git-flow gem brew vi-mode pip osx syntax-highlighting extract autojump) source $ZSH/oh-my-zsh.sh # Customize to your needs... export PATH=$HOME/.bin:$PATH export PATH=$HOME/bin:$PATH source ~/.profile -source /usr/local/Cellar/autojump/15/etc/autojump.zsh +#source /usr/local/Cellar/autojump/15/etc/autojump.zsh #if [[ -z "$TMUX" ]]; then #tmux att #fi