On Wed, Feb 23, 2011 at 5:06 AM, Clark J. Wang wrote:
> I can give you an example here:
>
> bash# vi compgen-example.sh
> _compgen_foo()
> {
> local cmd=$1 cur=$2 pre=$3
>
> if [[ $cur = % ]]; then
> COMPREPLY[0]='it-works'
> fi
> }
>
> complete -F _compgen_foo foo
> bash# sour
Hi,
I'm not subscribed to this list so please make sure to CC me if you
want me to receive the reply.
I'd like to hack some solution based on:
http://www.huyng.com/bashmarks-directory-bookmarks-for-the-shell/
but to be able to use saved bookmarks in other commands (explanation below).
So if I h