You are not logged in.
After updating autojump today (1), zsh complains that "autojump.zsh" cannot be found, the "j" command seems to have disappeared from my system, and the "autojump" program no longer cd's into directories.
I searched my disk for "autojump.zsh", but found that it had disappeared. So I'm sourcing "/usr/etc/profile.d/autojump.sh" in my .zshrc as an alternative. I also aliased "j" to "autojump". This makes the errors go away, but when I run "j <foo>", autojump merely prints out the name of the directory it should cd to instead of actually cd'ing there.
Any tips :-)?
(1) [2012-11-14 16:13] upgraded autojump (20-2 -> 21.0.3-1)
div curl F = 0
Offline
I have same issue with bash.
AFAIK autojump is enabled by sourcing /usr/etc/profile.d/autojump.sh - this script then tries to source:
~/.autojump/etc/profile.d/autojump.bash or /etc/profile.d/autojump.bash
or if you use zsh:
~/.autojump/etc/profile.d/autojump.zsh or /etc/profile.d/autojump.zsh
On my pc the .bash file autojump is looking for is in: /usr/etc/profile.d/autojump.bash
So I think that either "/usr" should be added to paths in /usr/etc/profile.d/autojump.sh, or autojump's files should be moved from /usr/etc/profile.d/ to /etc/profile.d/.
The second option seems much more likely for me, because only files I have in /usr/etc/ are autojump's files - it probably is a bug.
edit: it's already reported: https://bugs.archlinux.org/task/32669
Last edited by macioosch (2012-11-15 11:18:25)
Offline
Are there any plans to fix it? I'm using 20-2 and running `-Syu --ignore autojump` to upgrade.
Should I use autojump-git from AUR? Will it work then (that means that on GitHub it's fixed and Arch hasn't upgraded it's packages, why)?
Can I tell pacman to always ignore autojump and use current version as it is forever?
Offline
Can I tell pacman to always ignore autojump and use current version as it is forever?
You can do that by using the IgnorePKg option of pacman.conf , check it's manpage for details.
using this however means you will be doing partial upgrades forever, so i'd use it as a TEMPORARY workaround.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline
Offline
The problem w/ using packages from AUR is that it won't be upgraded automatically and I, as any other programmer, am lazy and will forget to upgrade it.
Offline
Offline