Documentation for the standalone alias definitions and command overrides located in the alias/ folder.
The alias/ directory contains PowerShell scripts that define custom aliases, shorthand commands, and overrides to replace default Windows PowerShell behaviors with more intuitive or native commands.
To use these aliases in your current session or permanently, see the Installation and Usage section.
The repository also includes scripts/manual.ps1, which provides a man-page-style reference for both aliases and functions. It scans the repository automatically, shows a full overview with help or man, and displays detailed documentation for a specific command such as help gco or man Invoke-GitCheckoutRemote.
Example usage:
. ./scripts/manual.ps1
help
help gco
man Invoke-GitCheckoutRemoteThis manual is especially useful when you want to browse the repository's commands without reading each script file manually.
By default, Windows PowerShell maps the alias curl to Invoke-WebRequest, which behaves differently from the standard native curl utility. This script removes the default alias and re-maps curl directly to curl.exe (the native executable).
- Command:
curl - Maps to:
curl.exe - Purpose: Restores standard curl behavior in PowerShell, allowing standard arguments/headers (like
-X,-H,-d) to work as they would on Linux/macOS.
This script defines shorthand aliases for Git functions defined within the repository's main utility scripts.
- Maps to:
Invoke-GitCheckoutRemote(defined inscripts/git.ps1) - Purpose: Quickly search, select, and check out remote branches interactively.
This script creates a lua alias that points to lua55, which can be useful when the Lua 5.5 executable is installed but you prefer the shorter command name.
- Command:
lua - Maps to:
lua55 - Purpose: Provides a more convenient alias for invoking Lua 5.5 from PowerShell.
To make these aliases available, dot-source them in your PowerShell profile or current session.
. ./alias/curl.ps1
. ./alias/git.ps1
. ./alias/lua.ps1- Open your PowerShell profile:
notepad $PROFILE - Append the following lines pointing to your local repository directory:
. "C:\Users\Manuel Morales\Repos\PowerShell\alias\curl.ps1" . "C:\Users\Manuel Morales\Repos\PowerShell\alias\git.ps1" . "C:\Users\Manuel Morales\Repos\PowerShell\alias\lua.ps1"
- Save and restart PowerShell.