Skip to content

Instantly share code, notes, and snippets.

@emrahdk
Created November 22, 2018 12:48
Show Gist options
  • Save emrahdk/fdfb4f967df2c8ec5eca41e8d3d277dc to your computer and use it in GitHub Desktop.
Save emrahdk/fdfb4f967df2c8ec5eca41e8d3d277dc to your computer and use it in GitHub Desktop.
;= @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 .
gl=git log --oneline --all --graph --decorate $*
ls=ls --show-control-chars -F --color $*
pwd=cd
clear=cls
history=cat "%CMDER_ROOT%\config\.history"
unalias=alias /d $1
vi=vim $*
cmderr=cd /d "%CMDER_ROOT%"
gitwrecked=git reset --hard head
home=cd C:\Users\emrah.kaya
gitpushall=git push --all && git push --tags
vstools=C:\"Program Files (x86)"\"Microsoft Visual Studio"\2017\Enterprise\Common7\Tools\VsDevCmd.bat
vsclean=rm -rf ./**/bin && rm -rf ./**/obj && rm -rf packages/
gs=git status
adbreverse=adb reverse tcp:8081 tcp:8081
ls=ls --show-control-chars -F --color --all $*
gc=git checkout $*
seehosts=cat c:\Windows\System32\drivers\etc\hosts
killjava=taskkill /f /t /im java.exe
dotnetpack=dotnet pack -c Release --include-source --include-symbols
dotnetpublish=dotnet publish -c Release
sln=C:\"Program Files"\Git\usr\bin\find.exe . -name "*.sln" | clip && echo Solution in clipboard...
fixhosts=code c:\Windows\System32\drivers\etc\hosts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment