Manage command aliases in Windows
Project description
alias
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:
%ALIASES_DIR%
Directory where aliases are stored.%PATH%
Adds%ALIASES_DIR%
to%PATH%
.
License
This project is licensed under the MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
alias-windows-1.1.0.tar.gz
(4.6 kB
view hashes)
Built Distribution
Close
Hashes for alias_windows-1.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5268534d44592027fe0554c4248596781abe3c22fcb5042a8330e1410884341 |
|
MD5 | 8951c6a9236e36e18aa56d33b261b6d4 |
|
BLAKE2b-256 | 19deaac328523b778ecb698f8d0489d9878ef2af0047d4c3c9547efb56704c6c |