Skip to content

Instantly share code, notes, and snippets.

@chrislandeza
Last active February 8, 2017 06:06
Show Gist options
  • Save chrislandeza/59ab90d9cde66f592f9de4a31b782272 to your computer and use it in GitHub Desktop.
Save chrislandeza/59ab90d9cde66f592f9de4a31b782272 to your computer and use it in GitHub Desktop.
Just like my .bash_profile but for native windows 'cmd'. Usage: cmd.exe /K %USERPROFILE%\env.cmd
@echo off
:: Git
doskey gs=git status
doskey ga=git add --all
doskey gc=git commit -m
doskey gp=git push -u origin master
doskey nah=git reset --hard origin/master $T git clean -fd
:: Laravel
doskey refresh=php artisan migrate:refresh --seed
doskey tinker=php artisan tinker
doskey art=php artisan
doskey routes=php artisan route:list
:: SVN
doskey vs=svn status
:: General
doskey s=dir
doskey c=cls
doskey x=exit
doskey wamp=cd C:/wamp/www
doskey xampp=cd C:/xampp/htdocs
:: jigsaw
doskey jigsaw="./vendor/bin/jigsaw "
:: CD to project
doskey mayo-clinic=cd C:/xampp/htdocs/mayo-clinic
doskey sbedev=cd C:/xampp/htdocs/sbedev
doskey mmu=cd C:/xampp/htdocs/mmu-ci
doskey slmcqw=cd C:/xampp/htdocs/slmcqw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment