Skip to content

Instantly share code, notes, and snippets.

@elliotwesoff
Created March 22, 2017 14:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save elliotwesoff/16e32cd7e5c195777851a14912ef6373 to your computer and use it in GitHub Desktop.
Save elliotwesoff/16e32cd7e5c195777851a14912ef6373 to your computer and use it in GitHub Desktop.
windows-cmd-shortcuts.bat
@echo off
doskey gs=git status
doskey gl=git log
doskey gd=git diff
doskey gb=git branch
doskey l=ls -lah
doskey size=du -sh
doskey e=explorer
doskey hosts=vim C:\Windows\System32\drivers\etc\hosts
doskey vsc="C:\Program Files (x86)\Microsoft VS Code\code.exe"
doskey home=cd %USERPROFILE%
doskey code=cd %USERPROFILE%\code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment