-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Aliased commands: Syntax Highlighting Lost #912
Comments
alias l=ls -la --color
|
The hi-lighting is lost because 'ls' is aliased to 'ls --color' and |
Thank you! @daxgames |
A potentially useful tip here is to set an environment variable with your common options and use that in your alias variants. For example:
Then set the variable in your shell, e.g. in cmder/config/user-profile,cmd:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I can't find any mention of this in previous issues.
I created an alias: "l=ls -la" (without the quotation marks)
This a fresh install of cmder on Windows 7.
The results of executing the full command and then the alias are show below. Why is the syntax highlighting lost and how can I fix it?
The text was updated successfully, but these errors were encountered: