Copy output to clipboard.
Project description
Persistent aliases for package managers.
If you like the idea click ⭐ on the repo and tweet.
Installation
To install use pip:
xpip install xontrib-pm
# OR: xpip install -U git+https://github.com/anki-code/xontrib-pm
Usage
After loading xontrib-pm is searching the known package managers. If the package manager installed (e.g. pacman
) the xontrib adds the aliases e.g. pacman-install
, pacman-search
, etc. The pm
command returns the list of known installed package managers.
xontrib load pm
pm
# pacman, brew
# Type `pacman-` and press Tab
pacman-search vim # sudo pacman -Ss vim
pacman-install vim # sudo pacman -Sy vim
Feel free to extand the list of known package managers.
Commands
The list of commands that need to have the package manager:
search
- serach the packageinstall
- install the packageuninstall
- uninstall the package
Optinally:
instally
- install without user confirmationinstalled
- list of installed packages- Any other useful aliases e.g.
pacman-upgrade-everything
.
Credits
- Package manager-independent bash aliases
- This package was created with xontrib template.
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
xontrib-pm-0.3.0.tar.gz
(3.7 kB
view hashes)
Built Distribution
Close
Hashes for xontrib_pm-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93a034378a9f6d5d9e3eb3bc778dc087b72d09ae4c6df4199016f5a98a24b45f |
|
MD5 | 9d7445cdb878947afa9aafbd5ff02b46 |
|
BLAKE2b-256 | 0850ab2a67c2df01029cb6b90689811715a13bd8cf51858bce5a2bcf94dcc13a |