Bug 1089600
| Summary: | recent upgrade breaks autocomplete | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Sergio Basto <sergio> |
| Component: | autojump | Assignee: | Tomas Tomecek <ttomecek> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 20 | CC: | garrett.mitchener, relrod, thibault.north, ttomecek |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | autojump-21.6.9-2.fc20 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-05-03 19:53:00 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Sergio Basto
2014-04-21 06:24:57 UTC
What shell do you use? Is /etc/profile.d/autojump.${SHELL} sourced? Can you provide me an output of these commands?
rpm -Vv autojump-21.6.9-1.fc20.noarch
shopt -s extdebug && declare -F j && shopt -u extdebug
autojump --complete ${YOUR_DIR}
I have finally figured out where the problem is. The thing is that autojump --complete --bash "dir" encloses output in quotes and therefore completion cannot work. I have issued a scratch build in koji: http://koji.fedoraproject.org/koji/taskinfo?taskID=6764997 Could you please test whether this build fixes the issue? It does for me. autojump-21.6.9-2.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/autojump-21.6.9-2.fc20 Package autojump-21.6.9-2.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing autojump-21.6.9-2.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-5534/autojump-21.6.9-2.fc20 then log in and leave karma (feedback). The update in comment #4 mostly works, but if you type j ABC[Tab] and the path you choose has a space in it, as in '/home/me/My Stuff/ABC' it's no longer quoted when you choose it, and I think it used to be. autojump-21.6.9-2.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. (In reply to Garrett Mitchener from comment #5) > The update in comment #4 mostly works, but if you type > > j ABC[Tab] > > and the path you choose has a space in it, as in '/home/me/My Stuff/ABC' > it's no longer quoted when you choose it, and I think it used to be. I've just tested your usecase. It's correct what you are saying, but that doesn't break anything: ## I have a "/var/tmp/test asd" directory / $ ls -d /var/tmp/test\ asd/ /var/tmp/test asd/ ## Lets jump in it / $ j asd ## After hitting tab it changed to / $ j /var/tmp/test asd /var/tmp/test asd ## now I'm in there /var/tmp/test asd $ I've also tested it with upstream git and it's working the same way: [root@localhost tmp]# mkdir "/var/tmp/test asd2" [root@localhost tmp]# autojump -a /var/tmp/test\ asd2/ [root@localhost ~]# cd / [root@localhost /]# j te__ te__1__/var/tmp/test asd2 te__2__/var/tmp/test asd2 [root@localhost /]# j /var/tmp/test asd2 /var/tmp/test asd2 [root@localhost test asd2]# I can report this upstream if you feel like this is a regression. You know, I'm such a programmer: It never occurred to me that jumping to such a directory might work without the quote. I guess it's okay then. |