1
0
mirror of https://github.com/wting/autojump synced 2024-10-27 20:34:07 +00:00
wting_autojump/bin/_j
William Ting 17d31d881e Revert "remove _j() as it was never used to begin with."
This reverts commit 49a0d702ba.

Conflicts:
	bin/autojump

Closes #178, #181.
2013-02-13 12:14:52 -06:00

7 lines
108 B
Plaintext

#compdef j
cur=${words[2, -1]}
autojump --complete ${=cur[*]} | while read i; do
compadd -U "$i";
done