Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Autojump plugin #345

Merged
merged 2 commits into from

5 participants

Jacob Atzen Robby Russell d-fens Sorin Ionescu Alexander Berezovsky
Jacob Atzen

Hiya,

I've added a little plugin for autojump installed from homebrew. I hope you'll consider pulling it.

Robby Russell

Could you add a little description to our Plugins page fot autojump? Thanks in advance..

Robby Russell robbyrussell reopened this
Robby Russell robbyrussell merged commit ab2a7b5 into from
Sorin Ionescu sorin-ionescu commented on the diff
plugins/autojump/autojump.plugin.zsh
@@ -0,0 +1,3 @@
+if [ -f `brew --prefix`/etc/autojump ]; then

Not everyone uses OS X, and not everyone on OS X uses brew. Please find where autojump is installed, and source the appropriate /etc/autojump file instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
d-fens
# debian flavour
if [ -f /usr/share/autojump/autojump.zsh ]; then
  . /usr/share/autojump/autojump.zsh
fi

# mac os x flavour - not tested
if (`command -v brew >/dev/null`); then
  if [ -f `brew --prefix`/etc/autojump ]; then
    . `brew --prefix`/etc/autojump
  fi
fi

We don't all use brew, and we don't all have brew installed, we don't all have mac os x either, which causes errors when enabling.

Jacob Atzen

Not sure if I'm supposed to take action on this? Robby?

Sorin Ionescu

But, of coarse, you are. Reopen the issue, update the pull request. :p

Alexander Berezovsky

Tab autocompletion doesn't works for me :(

Calogero Lo Leggio kalos referenced this pull request
Merged

autojump plugin enhanced #801

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 19, 2011
  1. Jacob Atzen

    Add autojump plugin

    jacobat authored
  2. Jacob Atzen
This page is out of date. Refresh to see the latest.
3  plugins/autojump/autojump.plugin.zsh
View
@@ -0,0 +1,3 @@
+if [ -f `brew --prefix`/etc/autojump ]; then

Not everyone uses OS X, and not everyone on OS X uses brew. Please find where autojump is installed, and source the appropriate /etc/autojump file instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
+ . `brew --prefix`/etc/autojump
+fi
8 plugins/textmate/textmate.plugin.zsh
View
@@ -1,9 +1,9 @@
# TextMate
-alias et='mate . &'
-alias ett='mate app config lib db public spec test Rakefile Capfile Todo &'
-alias etp='mate app config lib db public spec test vendor/plugins vendor/gems Rakefile Capfile Todo &'
-alias etts='mate app config lib db public script spec test vendor/plugins vendor/gems Rakefile Capfile Todo &'
+alias et='mate .'
+alias ett='mate app config lib db public spec test Rakefile Capfile Todo'
+alias etp='mate app config lib db public spec test vendor/plugins vendor/gems Rakefile Capfile Todo'
+alias etts='mate app config lib db public script spec test vendor/plugins vendor/gems Rakefile Capfile Todo'
# Editor Ruby file in TextMate
alias mr='mate CHANGELOG app config db lib public script spec test'
Something went wrong with that request. Please try again.