Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support aliases with trailing spaces #249

Open
dffischer opened this issue Dec 4, 2015 · 1 comment
Open

Support aliases with trailing spaces #249

dffischer opened this issue Dec 4, 2015 · 1 comment

Comments

@dffischer
Copy link

Aliases to special keywords like exec, builtin or sudo are normally treated like the token they expand to. This does not work when the expansion is suffixed with a space. The zshbuiltins manual page section about the alias builtin explains, why this is a reasonable thing to do.

A trailing space in value causes the next word to be checked for alias expansion.

@danielshahaf
Copy link
Member

Cross-referencing #608.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants