Step 1: Using any of the following tools, send a GET request to alias alchemy domain with/without q (default all) and sys (default: linux) query parameters to download the composite alias file.
Windows Setup
Assuming we saved the file at %USERPROFILE%\.alias.cmd, run the following command in Administrator Mode
REM Adding `AutoRun` key (string) in Windows registry and setting the value to the file path.
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor" /f /v "AutoRun" /t REG_SZ /d "%USERPROFILE%\.alias.cmd"
Step 3: After creating the alias file and configuring our system, another operation that can be performed is appending the alias file using the >> operator. It is perhaps the reason why this project exists.
# Using Direct Command
curl -L "alias-alchemy.ra101.dev?q=kubernetes" >> ~/.alias.sh
# Using Alias
fetch-alias kubernetes >> ~/.alias.sh