Skip to content

Instantly share code, notes, and snippets.

@tenthree
Created January 17, 2020 06:23
Show Gist options
  • Save tenthree/79645e3247aa0b3d1aba74fd5a28c634 to your computer and use it in GitHub Desktop.
Save tenthree/79645e3247aa0b3d1aba74fd5a28c634 to your computer and use it in GitHub Desktop.
windows cmder alias config
;= @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 .
gs=git status $*
gb=git branch -a $*
gc=git checkout $*
gl=git log --oneline --all --graph --decorate $*
gc
ls=ls --show-control-chars -F --color $*
ll=ls --show-control-chars -laHF --color $*
pwd=cd
clear=cls
history=cat "%CMDER_ROOT%\config\.history"
unalias=alias /d $1
vi=vim $*
make=mingw32-make $*
cmderr=cd /d "%CMDER_ROOT%"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment