1
0
mirror of https://github.com/wting/autojump synced 2024-10-27 20:34:07 +00:00
wting_autojump/autojump_completion

14 lines
289 B
Plaintext
Raw Normal View History

2009-02-13 23:51:07 +00:00
# unrar(1) completion by Guillaume Rousse <rousse@ccr.jussieu.fr>
#
# $Id: unrar,v 1.4 2004/07/05 23:37:47 ianmacd Exp $
_autojump()
{
local cur
COMPREPLY=()
cur=${COMP_WORDS[1]}
2009-02-18 13:55:50 +00:00
IFS=$'\n' read -d '' -a COMPREPLY < <(autojump --completion "$cur")
2009-02-13 23:51:07 +00:00
return 0
}
complete -F _autojump j