user-aliases.cmd 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. ;= @echo off
  2. ;= rem Call DOSKEY and use this file as the macrofile
  3. ;= %SystemRoot%\system32\doskey /listsize=1000 /macrofile=%0%
  4. ;= rem In batch mode, jump to the end of the file
  5. ;= goto:eof
  6. ;= Add aliases below here
  7. e.=explorer .
  8. gl=git log --oneline --all --graph --decorate $*
  9. gs=git status
  10. gc=git commit
  11. gcm=git commit -m $*
  12. gd=git diff
  13. gaa=git add .
  14. gb=git branch
  15. checkout=git checkout $*
  16. gba=git branch $*
  17. tinker=php artisan tinker
  18. ms=php artisan migrate:status
  19. migrate=php artisan migrate
  20. ~ = cd /d %Userprofile%
  21. cdw=cd /d C:\Bitnami\wampstack-5.6.30-1\apache2\htdocs
  22. cmderr=cd /d "%CMDER_ROOT%"
  23. config.=cd /d "%CMDER_ROOT%\config"
  24. pwd=cd
  25. clear=cls
  26. history=cat "%CMDER_ROOT%\config\.history"
  27. unalias=alias /d $1
  28. vi=vim $*
  29. l=ls --show-control-chars
  30. la=ls -aF --show-control-chars --color
  31. ll=ls -lF --show-control-chars --color
  32. ls=ls --show-control-chars -F --color
  33. nn="C:\Program Files (x86)\Notepad++\notepad++.exe" $*
  34. na="C:\Program Files (x86)\Notepad++\notepad++.exe" "%CMDER_ROOT%\config\user-aliases.cmd"