user_aliases.cmd 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. l=ls --show-control-chars -CFGNhp --color --ignore={"NTUSER.DAT*","ntuser.dat*"} $*
  10. ls=ls --show-control-chars -F --color $*
  11. pwd=cd
  12. clear=cls
  13. unalias=alias /d $1
  14. vi=vim $*
  15. cmderr=cd /d "%CMDER_ROOT%"
  16. pwsh=%SystemRoot%/System32/WindowsPowerShell/v1.0/powershell.exe -ExecutionPolicy Bypass -NoLogo -NoProfile -NoExit -Command "Invoke-Expression '. ''%CMDER_ROOT%/vendor/profile.ps1'''"
  17. gl=git log --oneline --all --graph --decorate $*
  18. gs=git status
  19. gc=git commit
  20. gcm=git commit -m $*
  21. gd=git diff
  22. gaa=git add .
  23. gb=git branch
  24. checkout=git checkout $*
  25. gba=git branch $*
  26. tinker=php artisan tinker
  27. ms=php artisan migrate:status
  28. migrate=php artisan migrate
  29. ~ = cd /d %Userprofile%
  30. cdw=cd /d C:\Bitnami\wampstack-5.6.30-1\apache2\htdocs
  31. cmderr=cd /d "%CMDER_ROOT%"
  32. config.=cd /d "%CMDER_ROOT%\config"
  33. pwd=cd
  34. clear=cls
  35. unalias=alias /d $1
  36. vi=vim $*
  37. l=ls --show-control-chars
  38. la=ls -aF --show-control-chars --color
  39. ll=ls -lF --show-control-chars --color
  40. ls=ls --show-control-chars -F --color
  41. nn="C:\Program Files (x86)\Notepad++\notepad++.exe" $*
  42. na="C:\Program Files (x86)\Notepad++\notepad++.exe" "%CMDER_ROOT%\config\user-aliases.cmd"