Skip to content

Instantly share code, notes, and snippets.

@Viktorminator
Created February 21, 2019 12:59
Show Gist options
  • Save Viktorminator/0e686ad5ef90519e728a2ff30020e4c4 to your computer and use it in GitHub Desktop.
Save Viktorminator/0e686ad5ef90519e728a2ff30020e4c4 to your computer and use it in GitHub Desktop.
Viktor's 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 .
p.=phpstorm .
gs=git status
gaa=git add .
gcc=git commit -m
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%"
repos=cd C:\Users\Viktor\Repos
kaas=cd C:\Users\Viktor\Repos\kaas.nl
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