Last active
August 2, 2018 14:52
-
-
Save 2ajoyce/246cfd1feee333ef09692506010c2648 to your computer and use it in GitHub Desktop.
Aliases on windows cmd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
:: Save this file as %USERPROFILE%\aliases.bat | |
:: Run regedit and go to HKEY_CURRENT_USER\Software\Microsoft\Command Processor | |
:: Add String Value entry with the name AutoRun and the full path of your .bat/.cmd file. | |
:: Copied from: https://stackoverflow.com/questions/20530996/aliases-in-windows-command-prompt | |
DOSKEY ls=dir /B | |
DOSKEY ll=dir | |
DOSKEY g=git $* | |
DOSKEY gs=git status $* | |
DOSKEY gpr=git pull --rebase $* | |
DOSKEY gw=gradlew.bat $* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment