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

Alias #2072

Merged
merged 9 commits into from
May 5, 2019
Merged

Alias #2072

merged 9 commits into from
May 5, 2019

Conversation

daxgames
Copy link
Member

@daxgames daxgames commented Apr 2, 2019

New alias create [alias] [alias command] syntax.

@daxgames
Copy link
Member Author

daxgames commented Apr 2, 2019

I have tested this with all switches

alias /f alt_aliases.cmd alias=^^^^%userprofile^^^^%\desktop
alias /f alt_aliases.cmd alias create ^^^^%userprofile^^^^%\desktop
alias alias=^^^^%userprofile^^^^%\desktop
alias alias create ^^^^%userprofile^^^^%\desktop
alias /f alt_aliases.cmd /d alias
alias /d alias
alias /f alt_aliases.cmd /reload
alias /reload
alias /H
alias /h
alias/?

Cases where ^^^^%userprofile^^^^% should retain the envar in the alias and %userprofile% will resolve the envar into a value in the alias.

@daxgames daxgames merged commit efe64ee into cmderdev:master May 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants