Last active
August 10, 2017 06:40
-
-
Save aginev/b49748d6c1bd70d6582cf212e405296f to your computer and use it in GitHub Desktop.
Cmder Aliases
This file contains hidden or 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 | |
| ;= rem Call DOSKEY and use this file as the macrofile | |
| ;= %SystemRoot%\system32\doskey /listsize=1000 /macrofile=%0% | |
| ;= rem In batch mode, jump to the end of the file | |
| ;= goto:eof | |
| ;= Add aliases below here | |
| e.=explorer . | |
| pwd=cd | |
| clear=cls | |
| history=cat "%CMDER_ROOT%\config\.history" | |
| unalias=alias /d $1 | |
| vi=vim $* | |
| cmderr=cd /d "%CMDER_ROOT%" | |
| ls=ls --show-control-chars -F --color $* | |
| ..=cd .. | |
| ...=cd ../.. | |
| ....=cd ../../.. | |
| .....=cd ../../../.. | |
| c=clear $* | |
| ll=ls -alFh --show-control-chars --color $* | |
| la=ls -A $* | |
| l=ls -CF $* | |
| gl=git log --oneline --all --graph --decorate $* | |
| gs=git status | |
| gc=git checkout $* | |
| gb=git branch $* | |
| gba=git branch -a $* | |
| ga=git add $* | |
| gaa=git add --all | |
| gt=git tag -a $* | |
| gcm=git commit -m $* | |
| gpush=git add --all && git commit --message="$*" && git push | |
| gnah=git checkout -- . | |
| artisan=php artisan $* | |
| hs=c: && cd \ && cd Users\USER\Homestead\ && vagrant $* | |
| hss=c: && cd \ && cd Users\USER\Homestead\ && vagrant ssh | |
| hsu=c: && cd \ && cd Users\USER\Homestead\ && vagrant up | |
| hsd=c: && cd \ && cd Users\USER\Homestead\ && vagrant halt | |
| hsh=c: && cd \ && cd Users\USER\Homestead\ && vagrant halt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment