-
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
Rework alias
command to not to use external tools
#358
Conversation
* Removed unnecessary perl script
* Remove separate unalias script and add `unalias` alias ^) for `alias /d`
alias
command to not use external toolsalias
command to not to use external tools
:p_show | ||
type "%ALIASES%" || echo No aliases found at "%ALIASES%" | ||
goto :eof | ||
|
||
:p_help | ||
echo.Usage: | ||
echo. alias name=full command |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe replace with:
echo. alias [/reload] [/d] [name=full command]
echo. /reload Reload the aliases file
echo. /d Delete an alias (must be followed by the alias name)
echo.
echo. If alias is called with any parameters, it will display the list of existing aliases.
echo. In the command, you can use the following notations:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree. Done in vladimir-kotikov@dba00b9
+1 from me, I'm actually using it ;) Thanks |
You're welcome! :) |
Rework `alias` command to not to use external tools
Looks good, thanks @vladimir-kotikov |
Thanks for merging @MartiUK |
This includes following changes:
alias
script instead of external perl script./d
option to remove already defined alias (and replacesunalias.bat
->unalias
alias :) ).alias
command without arguments.