Skip to main content

alias Version Test status

Manage command aliases in Windows.

Installation

> pip install alias-windows

By default aliases are stored in %USERPROFILE%\Documents\Scripts\Aliases. You can set the directory to store aliases by changing the environment variable called %ALIASES_DIR%.

Managing aliases

Get the list of available aliases:

> alias
apktool, gsh, gst
> alias -v
apktool = %SOFTWARE%\apktool\apktool.bat %*
gsh = git show $*
gst = git status --short --branch %*

Add an alias:

> alias test=dir \b %*
Added test

Show the alias:

> alias g
gsh, gst
> alias test
dir \b %*

Search for a text in alias commands:

> alias -s apk
baksmali, smali
> alias -s apk -v
baksmali = %SOFTWARE%\apktool\apktool.bat d %*
smali = %SOFTWARE%\apktool\apktool.bat b %*

Delete the alias:

> alias -d test
Deleted test

Environment variables

alias changes two variables:

  1. %ALIASES_DIR% Directory where aliases are stored.
  2. %PATH% Adds %ALIASES_DIR% to %PATH%.

License

This project is licensed under the MIT License.

Release files for alias-windows 1.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for alias-windows 1.1.1
File Size Uploaded
alias-windows-1.1.1.tar.gz 4.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for alias-windows 1.1.1
File Interpreter ABI Platform
alias_windows-1.1.1-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 9.4 kB

Release files / alias-windows-1.1.1.tar.gz

Download URL alias-windows-1.1.1.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
cf30000874becb019c0926aa3119bf3cdd75be3acbe6a6d0a52a3dd3dd935352
BLAKE2b-256 checksum
How to use checksums
34dab0d9b25cb615c7d758a5b256444cda3bcbcd2aa08fe1b2310c381e59ddc9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.0

Release files / alias_windows-1.1.1-py2.py3-none-any.whl

Download URL alias_windows-1.1.1-py2.py3-none-any.whl
Size 4.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
c2cda9c8a95c6c6b75bc9b5aecf9aedd3b4b41d8d32f352dcfdb46875fb7bf15
BLAKE2b-256 checksum
How to use checksums
62b060e0bd587fb2e12db75e15b0cbf8859be2002bd9c9896051cadd1c8b4afe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.0

Release history Release notifications | RSS feed

This release

1.1.1 This release

2 release files

1.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page