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.
9 lines
181 B
Plaintext
9 lines
181 B
Plaintext
ls is /bin/ls
|
|
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
|