Giter Club home page Giter Club logo

Comments (7)

jaylevitt avatar jaylevitt commented on May 20, 2024

Just verified that even with all those commented out, the problem still occurs (without the "No matches:" warning).

from autojump.

joelthelion avatar joelthelion commented on May 20, 2024

I'd love to help you out, but I use bash myself and zsh completion works perfectly on all of my machines...

Is autojump the only application that has a problem? What distro are you using? Can you try using autojump on a fresh user account to see if one of your customizations could be the problem?

from autojump.

jaylevitt avatar jaylevitt commented on May 20, 2024

Hmm.. I'm on Mac OS X 10.5.8 (can't upgrade to 10.6 yet), with zsh 4.3.10 from MacPorts. I tried using the built-in 4.3.4, got the same results, even after deleting all my customizations and blowing away the autojump directory.

I just tried creating a new account that uses /bin/bash (3.2.17(1)-release (i386-apple-darwin9.0)), but install.sh says:

grep: /Users/jaytest/.bash_profile: No such file or directory
./install.sh: line 79: [: too many arguments

I did, in fact, touch an empty .bash_profile but that didn't change the error message. How can I troubleshoot?

from autojump.

jaylevitt avatar jaylevitt commented on May 20, 2024

Well, ignoring the bash installer bug, I think I figured out the zsh problem. With zsh 4.3.10:

% echo $FPATH
/opt/local/share/zsh/site-functions:/opt/local/share/zsh/4.3.10/functions

install.zsh puts _j into the first directory in $FPATH. Unfortunately:

~% ls /opt/local/share/zsh
4.3.10/
~% 

and install.zsh doesn't check the error! I'd recommend that install.zsh make the directory if required, or at least spit out an error when it isn't found. I manually created site-functions, put _j in there, and all is now well on the zsh side.

from autojump.

joelthelion avatar joelthelion commented on May 20, 2024

Could you provide a patch for the zsh installer? I could probably do it, but since I don't use zsh, there's a significant probability that I would mess up :)

About the bash installer, I guess the problem is in a patch from another guy I merged in recently. But I can't reproduce the problem on my computer...

from autojump.

joelthelion avatar joelthelion commented on May 20, 2024

Ok, I think I've solved the problem. What do you think of the solution?

http://github.com/joelthelion/autojump/commit/512db419e1470af77c544ecbedad5dae9221ddda

from autojump.

joelthelion avatar joelthelion commented on May 20, 2024

Ok, I'm considering the issue to be closed. Don't hesitate to reopen if that is not the case!

from autojump.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.