Win-Alias
Win-Alias is a simple CLI tool to create and manage Windows command aliases.
If you are tired of typing long commands or if you want to create custom command shortcuts, Win-Alias is for you.
If you've used Linux before, you might be familiar with the alias command. Win-Alias brings this functionality to Windows.
Features
- Create custom command aliases
- List all created aliases
- Display usage instructions
Installation
- Install from pip
pip install win-alias
Usage
Create an Alias
To create a new alias, run:
win_alias create-alias
>> Enter the alias name: ld
>> Enter the command:
dir
EOF
- We can now use the alias
ldto run the commanddir. - EOF is used to indicate the end of the command. It is not part of the command.
By default, the alias is saved in the user's home directory in a subdirectory called aliases.
Each alias is saved in a separate batch file with the alias name as the filename.
The very first time you create an alias, the aliases directory will need to be added to the system path. This is not needed for subsequent aliases.
The aliases will take effect after the system path is updated and the command prompt is restarted.
List All Aliases
To list all created aliases, run:
win_alias list-aliases
Display Usage Instructions
To display usage instructions, run:
win_alias --help Or
win_alias guide
Metadata
Release files for win-alias 1.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| win_alias-1.0.4.tar.gz | 2.5 kB | Without provenance | Details for win_alias-1.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| win_alias-1.0.4-py3-none-any.whl | Python 3 | none | any | Details for win_alias-1.0.4-py3-none-any.whl |
Total release size: 6.2 kB
Release files / win_alias-1.0.4.tar.gz
| Download URL | win_alias-1.0.4.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bc0b7086563b3e78a84da5a47a4a3cc5c69bb4bda1d21e59fc7b701d76467ca5
|
|
BLAKE2b-256 checksum How to use checksums |
f73c9820e0f1212ba43e0beffdbf462a689b0cf99a62a27b5ca75e25d0a36a9f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.1
|
Release files / win_alias-1.0.4-py3-none-any.whl
| Download URL | win_alias-1.0.4-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
acfec105bf0fb6d5d1f4b28067874aed8904c29c6225b52f11bceae7c96f3d68
|
|
BLAKE2b-256 checksum How to use checksums |
498a93320798855f31a186130975042bada584a1479e867e2d0b567af53cee23
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.1
|
Security for win-alias 1.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.