Created
February 8, 2025 22:24
-
-
Save jboelter/cc7f6999ed0cec9427d00fa223625a18 to your computer and use it in GitHub Desktop.
windows coreutils via doskey
This file contains hidden or 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
b2sum=coreutils b2sum $* | |
b3sum=coreutils b3sum $* | |
base32=coreutils base32 $* | |
base64=coreutils base64 $* | |
basename=coreutils basename $* | |
basenc=coreutils basenc $* | |
cat=coreutils cat $* | |
cksum=coreutils cksum $* | |
comm=coreutils comm $* | |
cp=coreutils cp $* | |
csplit=coreutils csplit $* | |
cut=coreutils cut $* | |
;= date=coreutils date $* | |
dd=coreutils dd $* | |
df=coreutils df $* | |
;= dir=coreutils dir $* | |
dircolors=coreutils dircolors $* | |
dirname=coreutils dirname $* | |
du=dust $* | |
;= echo=coreutils echo $* | |
env=coreutils env $* | |
;= expand=coreutils expand $* | |
expr=coreutils expr $* | |
factor=coreutils factor $* | |
false=coreutils false $* | |
fmt=coreutils fmt $* | |
fold=coreutils fold $* | |
hashsum=coreutils hashsum $* | |
head=coreutils head $* | |
join=coreutils join $* | |
;= link=coreutils link $* | |
ln=coreutils ln $* | |
ls=coreutils ls $* | |
md5sum=coreutils md5sum $* | |
mkdir=coreutils mkdir $* | |
mktemp=coreutils mktemp $* | |
;= more=coreutils more $* | |
mv=coreutils mv $* | |
nl=coreutils nl $* | |
numfmt=coreutils numfmt $* | |
od=coreutils od $* | |
paste=coreutils paste $* | |
pr=coreutils pr $* | |
printenv=coreutils printenv $* | |
printf=coreutils printf $* | |
ptx=coreutils ptx $* | |
pwd=coreutils pwd $* | |
readlink=coreutils readlink $* | |
realpath=coreutils realpath $* | |
rm=coreutils rm $* | |
;= rmdir=coreutils rmdir $* | |
seq=coreutils seq $* | |
sha1sum=coreutils sha1sum $* | |
sha224sum=coreutils sha224sum $* | |
sha256sum=coreutils sha256sum $* | |
sha3-224sum=coreutils sha3 $* | |
sha3-256sum=coreutils sha3 $* | |
sha3-384sum=coreutils sha3 $* | |
sha3-512sum=coreutils sha3 $* | |
sha384sum=coreutils sha384sum $* | |
sha3sum=coreutils sha3sum $* | |
sha512sum=coreutils sha512sum $* | |
shake128sum=coreutils shake128sum $* | |
shake256sum=coreutils shake256sum $* | |
shred=coreutils shred $* | |
shuf=coreutils shuf $* | |
sleep=coreutils sleep $* | |
sort=coreutils sort $* | |
split=coreutils split $* | |
sum=coreutils sum $* | |
tac=coreutils tac $* | |
tail=coreutils tail $* | |
tee=coreutils tee $* | |
test=coreutils test $* | |
touch=coreutils touch $* | |
tr=coreutils tr $* | |
true=coreutils true $* | |
truncate=coreutils truncate $* | |
tsort=coreutils tsort $* | |
unexpand=coreutils unexpand $* | |
uniq=coreutils uniq $* | |
unlink=coreutils unlink $* | |
vdir=coreutils vdir $* | |
wc=coreutils wc $* | |
yes=coreutils yes $* | |
ls=eza --icons --group-directories-first $* | |
ll=eza -la --icons --group-directories-first $* | |
tree=eza -T $* | |
aliases=notepad %USERPROFILE%\aliases.cmd | |
;= |
This file contains hidden or 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
Windows Registry Editor Version 5.00 | |
[HKEY_CURRENT_USER\Software\Microsoft\Command Processor] | |
"AutoRun"="\"C:\\Program Files (x86)\\clink\\clink.bat\" inject --autorun && doskey /macrofile=%USERPROFILE%\\aliases.doskey" | |
This file contains hidden or 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
; | |
; install the rust coreutils package | |
; | |
cargo install --locked coreutils | |
; | |
; setup the auto load reg key w/ clink (requires elevation or sudo) | |
; or use the doskey.reg | |
; | |
reg add "HKEY_CURRENT_USER\Software\Microsoft\Command Processor" /v AutoRun /t REG_SZ ^ | |
/d "\"C:\\Program Files (x86)\\clink\\clink.bat\" inject --autorun && doskey /macrofile=%USERPROFILE%\\aliases.doskey" /f | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment