Skip to content

Instantly share code, notes, and snippets.

@Viktorminator
Last active February 17, 2019 09:48
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 Viktorminator/33abe86e7e7cc0a862257dd95ca33ab3 to your computer and use it in GitHub Desktop.
Save Viktorminator/33abe86e7e7cc0a862257dd95ca33ab3 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 .
gl=git log --oneline --all --graph --decorate $*
ls=ls --show-control-chars -F --color $*
pwd=cd
clear=cls
history=cat "%CMDER_ROOT%\config\.history"
unalias=alias /d $1
vi=vim $*
cmderr=cd /d "%CMDER_ROOT%"
add_alias = code %CMDER_ROOT%\config\user_aliases.cmd
dcu=docker-compose up -d
dcd=docker-compose down
dim=docker images
dps=docker ps
dpsa=docker ps -a
drmc=docker rm $(docker ps --all -q -f status=exited)
drmid=docker rmi $( docker images -q -f dangling=true)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment