Description of problem: j oneletter tab tab , is not working in last update of autojump , works with 0:21.1.2-3.fc19 this a big regression for me .
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.