5 ms·
I found this is a useful addition to his scripts... I can't live without my tab completion! _jump() { local cur=${COMP_WORDS[COMP_CWORD]}
by mynameisfiber 13y ago
I found this is a useful addition to his scripts... I can't live without my tab completion!
_jump()
{
local cur=${COMP_WORDS[COMP_CWORD]}
COMPREPLY=( $(compgen -W "$( ls $MARKPATH )" -- $cur) )
}
complete -F _jump jump
- sgt 13y agoCleaner than the other variants here that use "find".