Skip to content
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
@krader1961

Description

@krader1961

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions