[Help-bash] command completion with just executable but no directory
From:
Peng Yu
Subject:
[Help-bash] command completion with just executable but no directory
Date:
Sat, 12 May 2012 22:48:12 -0500
Hi,
Suppose that I have a directory xxx and an executable yyy in '..'.
compgen -c will show both xxx and yyy. If I just want to show the
executable yyy, is there a convenient option to do so?
--
Regards,
Peng