Created
July 19, 2023 18:53
-
-
Save mattdkerr/6f095af9eac0c5e4e30ad9a68bcedfe5 to your computer and use it in GitHub Desktop.
cmder aliases for exa codium and bat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;= @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