Skip to content

Instantly share code, notes, and snippets.

@Diomeh
Created October 19, 2022 18:39
Show Gist options
  • Save Diomeh/3ae97ede483df6505a7a10c4e6af8546 to your computer and use it in GitHub Desktop.
Save Diomeh/3ae97ede483df6505a7a10c4e6af8546 to your computer and use it in GitHub Desktop.
@echo off
DOSKEY cd=cd /D $*
DOSKEY ls=dir /D
DOSKEY ll=dir /O:GN /T:A
DOSKEY clean=cls
DOSKEY clear=cls
DOSKEY which=where.exe $*
DOSKEY history=DOSKEY /h
DOSKEY nuke=rmdir /S /Q $*
DOSKEY cat=type $*
DOSKEY rm=del $*
DOSKEY ipself=curl ifconfig.me
DOSKEY headers=curl -s -D - $* -L -o nul
DOSKEY grep=findstr /i /r /c:"$*"
DOSKEY alias=notepad "%USERPROFILE%\cmd_aliases.bat"
DOSKEY valias=vim "%USERPROFILE%\cmd_aliases.bat"
DOSKEY nalias=nano "%USERPROFILE%\cmd_aliases.bat"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment