1
0
mirror of https://github.com/wting/autojump synced 2026-03-02 03:49:26 +00:00

merge autojump_completion into autojump.sh ; fix atomic write ; avoid risk of extreme slowdown by multiple autojumps in prompt command

This commit is contained in:
Joël Schaerer
2009-02-18 15:13:29 +01:00
parent 3d4f8a4d4f
commit bcd5476c6d
3 changed files with 17 additions and 14 deletions

View File

@@ -2,12 +2,3 @@
#
# $Id: unrar,v 1.4 2004/07/05 23:37:47 ianmacd Exp $
_autojump()
{
local cur
COMPREPLY=()
cur=${COMP_WORDS[1]}
IFS=$'\n' read -d '' -a COMPREPLY < <(autojump --completion "$cur")
return 0
}
complete -F _autojump j