Comments (7)
Just verified that even with all those commented out, the problem still occurs (without the "No matches:" warning).
from autojump.
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.
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.
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.
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.
Ok, I think I've solved the problem. What do you think of the solution?
http://github.com/joelthelion/autojump/commit/512db419e1470af77c544ecbedad5dae9221ddda
from autojump.
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)
- Suggestion: cd into typed dir if available
- Unsupported shell: /bin/csh
- autojump_chpwd:4: permission denied: autojump
- Is this repo maintained? HOT 2
- update README.md
- Cant clone the git repository with the given git clone command HOT 2
- Autojump Does Not Work Inside of Bash Script HOT 1
- How to fix when I input '-' , but terminal show '_j:compadd:5: bad option: -_' HOT 1
- How did you create executable that is readable in Python? HOT 1
- possible bug when search string starts with all
- Is there any way to disable printing the jump path when jumping? HOT 3
- changing binding HOT 1
- How can I install autojump for cygwin?
- jo and jco gives errors in zsh terminal on Manjaro KDE 5
- zsh: command not found J - Mint Cinnamon HOT 2
- Error when Python 2 is not installed. HOT 3
- "string not in pwd" error on Mac
- Initialization warning: plugin 'autojump' not found
- alpine bug :Unsupported shell: /bin/ash
- Does autojump support MacOS M1 chips HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from autojump.