Skip to content

Instantly share code, notes, and snippets.

@parag60288
Last active April 22, 2020 09:04
Show Gist options
  • Save parag60288/a6b1a1468a4cb2e6902de1b56a930c3c to your computer and use it in GitHub Desktop.
Save parag60288/a6b1a1468a4cb2e6902de1b56a930c3c 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 $*
vs=code ./
vsi=code-insiders ./
cmderr=cd /d "%CMDER_ROOT%"
;= rem NodeJs Alias
npmi=npm i
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