|
From: | Andy Chu |
Subject: | Re: Exclude builtins from command completion |
Date: | Thu, 9 Jan 2020 13:51:28 -0800 |
Try this: $ complete -D -W 'foo bar' Now hit <TAB> at an empty prompt and you'll only get foo and bar. No builtins. This works in bash 4.3 and should work in all later versions (and many earlier). This may also be useful to disable your bashrc: bash --rcfile /dev/null Andy
[Prev in Thread] | Current Thread | [Next in Thread] |