Powerful Configurable Aliases
Project description
shortcut-alias
This is a personal project for configurable aliases.
As a personal project - there is no formal progression or documentation. I shall do my best to update this project, as I find issues with it, and add new features as I find needs.
Install
> pip install shortcut-alias
Usage
Shortcut-alias installs the following commands onto your system:
> shortcut-alias <command> <command_options>
> shortcut <command> <command_options>
> sa <command> <command_options>
First Run
On the first run, shortcut-alias
will generate the needed file structure on first run, or on a new config directory.
By default the folder structure will be the following:
On Windows:
Name | Filepath |
---|---|
root folder | C:\Users\<username>\shortcut |
settings | C:\Users\<username>\shortcut\settings.yaml |
commands folder | C:\Users\<username>\shortcut\shortcut.d |
On Linux:
Name | Filepath |
---|---|
root folder | ~\shortcut |
settings | ~\shortcut\settings.yaml |
commands folder | ~\shortcut\shortcut.d |
To change this, set the environment variable "SHORTCUT_CONFIG".
Windows:
> $Env:SHORTCUT_CONFIG=<filepath>
Linux:
export SHORTCUT_COFNIG=<filepath>
settings.yaml
Please view docs/configuration.md
for this.
shortcut.d files
Please view docs/shortcut_files.md
for this.
Variables
Please view docs/variables.md
for this.
Templating
Please view docs/templating.md
for this.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file shortcut-alias-0.2.6.tar.gz
.
File metadata
- Download URL: shortcut-alias-0.2.6.tar.gz
- Upload date:
- Size: 15.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38ced86a096710edfc00036eff8e5e8f58c3e5ba61fb029485096de49d6dbea1 |
|
MD5 | 098c3a7f8f7767dcaa65a12dd696efad |
|
BLAKE2b-256 | be380746d07ba272fd960ab458c98bd862854cde4042820a6930a6401625b966 |
File details
Details for the file shortcut_alias-0.2.6-py3-none-any.whl
.
File metadata
- Download URL: shortcut_alias-0.2.6-py3-none-any.whl
- Upload date:
- Size: 17.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9752b6e5995e0a11efaa07c67254c5047c8f74fc1b6ac5a9b020e65a2d6e2c15 |
|
MD5 | 1df9c311dc82e27406f736c785461cbc |
|
BLAKE2b-256 | 621338fdcf89c7285136f4abab2ce7732f88535451d8bb90273f5b07bcfd68de |