Skip to content

Instantly share code, notes, and snippets.

@mattdkerr
Created July 19, 2023 18:53
Show Gist options
  • Save mattdkerr/6f095af9eac0c5e4e30ad9a68bcedfe5 to your computer and use it in GitHub Desktop.
Save mattdkerr/6f095af9eac0c5e4e30ad9a68bcedfe5 to your computer and use it in GitHub Desktop.
cmder aliases for exa codium and bat
;= @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 .
log=git log --oneline --all --graph --decorate $*
amend=git commit --amend $*
rebase=git rebase -i $*
ls=exa --icons --group-directories-first --git -I="NTUSER.DAT*|ntuser.dat*" $*
l=exa --icons --group-directories-first --git -I="NTUSER.DAT*|ntuser.dat*" -l $*
ll=exa --icons --group-directories-first --git -I="NTUSER.DAT*|ntuser.dat*" -l $*
lg=exa --icons --group-directories-first --git -I="NTUSER.DAT*|ntuser.dat*" -l --git-ignore $*
cat=bat $*
pwd=cd
clear=cls
unalias=alias /d $1
vim=nvim $*
vi=vim $*
cmderr=cd /d "%CMDER_ROOT%"
pwsh=%SystemRoot%/System32/WindowsPowerShell/v1.0/powershell.exe -ExecutionPolicy Bypass -NoLogo -NoProfile -NoExit -Command "Invoke-Expression '. ''%CMDER_ROOT%/vendor/profile.ps1'''"
aliases=codium c:\tools\cmder\config\user_aliases.cmd
code=codium $*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment