Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#43762 - [autojump] sourcing autojump shell script twice

Attached to Project: Community Packages
Opened by lilydjwg (lilydjwg) - Tuesday, 10 February 2015, 06:11 GMT
Last edited by Jaroslav Lichtblau (Dragonlord) - Tuesday, 10 February 2015, 17:44 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jaroslav Lichtblau (Dragonlord)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

I have this in my /etc/profile.d/autojump.sh:

# check global install
elif [ -s /usr/share/autojump/autojump.${shell} ]; then
source /usr/share/autojump/autojump.${shell}
fi

# check custom install
if [ -s /usr/share/autojump/autojump.${shell} ]; then
source /usr/share/autojump/autojump.${shell}
fi

I'm using zsh so it'll source autojump.zsh twice, resulting a wrong chpwd_functions value (autojump_chpwdautojump_chpwd), so no new path will be added.

Additional info:

>>> pacman -Q zsh autojump
zsh 5.0.7-1
autojump 22.2.4-2
This task depends upon

Closed by  Jaroslav Lichtblau (Dragonlord)
Tuesday, 10 February 2015, 17:44 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in autojump-22.2.4-3

Loading...