Skip to content

Instantly share code, notes, and snippets.

@aginev
Last active August 10, 2017 06:40
Show Gist options
  • Select an option

  • Save aginev/b49748d6c1bd70d6582cf212e405296f to your computer and use it in GitHub Desktop.

Select an option

Save aginev/b49748d6c1bd70d6582cf212e405296f to your computer and use it in GitHub Desktop.
Cmder Aliases
;= @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 .
pwd=cd
clear=cls
history=cat "%CMDER_ROOT%\config\.history"
unalias=alias /d $1
vi=vim $*
cmderr=cd /d "%CMDER_ROOT%"
ls=ls --show-control-chars -F --color $*
..=cd ..
...=cd ../..
....=cd ../../..
.....=cd ../../../..
c=clear $*
ll=ls -alFh --show-control-chars --color $*
la=ls -A $*
l=ls -CF $*
gl=git log --oneline --all --graph --decorate $*
gs=git status
gc=git checkout $*
gb=git branch $*
gba=git branch -a $*
ga=git add $*
gaa=git add --all
gt=git tag -a $*
gcm=git commit -m $*
gpush=git add --all && git commit --message="$*" && git push
gnah=git checkout -- .
artisan=php artisan $*
hs=c: && cd \ && cd Users\USER\Homestead\ && vagrant $*
hss=c: && cd \ && cd Users\USER\Homestead\ && vagrant ssh
hsu=c: && cd \ && cd Users\USER\Homestead\ && vagrant up
hsd=c: && cd \ && cd Users\USER\Homestead\ && vagrant halt
hsh=c: && cd \ && cd Users\USER\Homestead\ && vagrant halt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment