This repository was archived by the owner on Jun 16, 2025. It is now read-only.
The hash
command should be a builtin not an alias #1393
Open
Description
While working on the b_alias()
function to make it the first builtin to use getopt_long()
rather than optget()
I noticed it has a gross hack to support the bash hash -r
flag needed because hash
is implemented as an alias of alias
. Separate the hash
logic from the alias
logic so those hacks aren't needed.