Skip to content

Instantly share code, notes, and snippets.

@fepegar
Last active February 5, 2019 21:45
Show Gist options
  • Save fepegar/2eaddd749cce1a3cdaad91ac8ade0337 to your computer and use it in GitHub Desktop.
Save fepegar/2eaddd749cce1a3cdaad91ac8ade0337 to your computer and use it in GitHub Desktop.
My 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 .
glol=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%"
l=ls -lah --show-control-chars -F --color $*
gst=git status
gl=git pull
gp=git push
gc=git commit -v
ga=git add $*
gcmsg=git commit -m $*
gca=git commit -v -a
gcam=git commit -a -m $*
gcm=git checkout master $*
gco=git checkout $*
gd=git diff $*
c=cd %HOME%
cc=cd ..
ccc=cd ../..
act=conda activate $*
dact=conda deactivate
find="%GIT_INSTALL_ROOT%\usr\bin\find.exe" $*
op=explorer $*
reload=alias /reload
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment