4b489a60e1
Add the space to avoid alias recursion when the alias is expanded, not when it is added. As a result, displaying an alias via command -v, command -V or type no longer erroneously appends a space. Adjust the tests so they now require this bug to be absent.
8 lines
167 B
Plaintext
8 lines
167 B
Plaintext
true is a shell builtin
|
|
/bin/ls is /bin/ls
|
|
fun is a shell function
|
|
break is a special shell builtin
|
|
if is a shell keyword
|
|
{ is a shell keyword
|
|
foo is an alias for bar
|