Skip to content

Instantly share code, notes, and snippets.

@parag-thoughti
Forked from parag60288/user_aliases.cmd
Created December 25, 2019 13:42
Show Gist options
  • Save parag-thoughti/43e9b74bfe34777cbaea8d5bcfee2245 to your computer and use it in GitHub Desktop.
Save parag-thoughti/43e9b74bfe34777cbaea8d5bcfee2245 to your computer and use it in GitHub Desktop.
Cmder User Alias for windows
;= @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 -n "%CMDER_ROOT%\config\.history"
unalias=alias /d $1
vi=vim $*
cmderr=cd /d "%CMDER_ROOT%"
;= rem NodeJs Alias
npms=npm start
nprd=npm run dev
npr=npm run $*
;= rem NodeJs Alias
ga=git add $*
gs=git status
gfa=git fetch --all
gf=git fetch $*
gitcm=git commit -m $*
gitcam=git commit -am $*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment