Skip to content

Instantly share code, notes, and snippets.

@DavidMCarek
Last active June 1, 2021 13:53
Show Gist options
  • Save DavidMCarek/87687a81e2574df615ed8a48299a5023 to your computer and use it in GitHub Desktop.
Save DavidMCarek/87687a81e2574df615ed8a48299a5023 to your computer and use it in GitHub Desktop.
All of 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 .
gl=git log --oneline --all --graph --decorate $*
ls=ls --color
lsa=ls -a --color
pwd=cd
clear=cls
cc=cls
history=cat "%CMDER_ROOT%\config\.history"
unalias=alias /d $1
vi=vim $*
cmderr=cd /d "%CMDER_ROOT%"
gs=git status
gc=git commit -m "$*"
gp=git push
ga=git add $*
gb=git branch -vv
gsp=git stash pop
gid=git ls-files | tr '\n' ' ' | xargs git update-index --assume-unchanged
gst=git stash
gch=git checkout $*
grh=git reset --hard
gpl=git pull
gplm=git pull origin master
guid=git ls-files | tr '\n' ' ' | xargs git update-index --no-assume-unchanged
glsi=git ls-files -v | grep "^[a-z]"
cdd=cd c:\users\cocare\desktop
c=c: && cd\
cg=cd c:\GitSandbox
~=cd c:\users\cocare
vrc=vim ~/.vimrc
aa=c: && cd c:\cmder\config && vim user_aliases.cmd
nggc=ng generate component "$*"
nggs=ng generate service "$*"
nggm=ng generate module "$*"
ngso=ng serve --open
ngs=ng serve
redis=redis-cli
localidsrv=powershell "& 'LocalScripts\LocalPublish.ps1'"
me=net user /domain cocare
gprune=powershell gprune.ps1
@abrhambas01
Copy link

Hey, is it possible to this in my cmder ?? without

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment