Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidAliasExpansionFunc ¶ added in v2.30.0
ValidAliasExpansionFunc returns a function that will check if the given string is a valid alias expansion. An expansion is valid if:
- it is a shell expansion,
- it is a non-shell expansion that corresponds to an existing command, extension, or alias.
func ValidAliasNameFunc ¶ added in v2.30.0
ValidAliasNameFunc returns a function that will check if the given string is a valid alias name. A name is valid if:
- it does not shadow an existing command,
- it is not nested under a command that is runnable,
- it is not nested under a command that does not exist.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.