Starts the ssh-agent and sources its PID and SOCK. Checks if xonsh already started an agent and updates the environment
Project description
Inits ssh-agent
If you like the idea click ⭐ on the repo and tweet.
Installation
To install use pip:
xpip install xontrib-init-ssh-agent
# or: xpip install -U git+https://github.com/theRealBithive/xontrib-init-ssh-agent
Usage
xontrib load init_ssh_agent
Known issues
Works fine on my PC(tm)
Credits
This package was created with xontrib cookiecutter template.
READ and REMOVE THIS SECTION
Releasing your package
- Bump the version of your package.
- Create a GitHub release (The release notes are automatically generated as a draft release after each push).
- And publish with
poetry publish --build
ortwine
Promotion of your xontrib
After you create the xontrib repository you can do some helpful tasks to spread the word about your xontrib.
Repository name. It's a good practice to add xontrib-
prefix before the name of your repository. It helps Github search find it.
Add topics to the repository. To show the xontrib repository in Github Topics please add topics xonsh
and xontrib
to the repository "About" setting. Also add thematic topics, for example, ssh
if your xontrib helps work with ssh
.
Easiest way to publish your xontrib to PyPi via Github Actions. Users can install your xontrib via pip install xontrib-myxontrib
. Easiest way to achieve it is to use Github Actions:
- Register to https://pypi.org/ and create API token.
- Go to repository "Settings" - "Secrets" and your PyPI API token as
PYPI_API_TOKEN
as a "Repository Secret". - Click "Actions" link on your Github repository.
- Click on "New Workflow"
- Click "Configure" on "Publish Python Package" Action.
- Commit the config without any changes.
- Now when you create new Release the Github Actions will publish the xontrib to PyPi automatically. Release status will be in Actions sction.
Add preview image. Add the image to repository "Settings" - "Options" - "Social preview". It allows to show preview image in Github Topics and social networks.
Add xontrib to the xonsh. To show xontrib name in xontrib list
in xonsh add it to the xonsh/xontribs_meta.py.
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
Built Distribution
Hashes for xontrib-init-ssh-agent-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b691dee63d05b59fa3c0abd4084a54a4965549abb439a2d8aa2b52ba9cec6d85 |
|
MD5 | ccbeaa3ef2b4b426255dba28e76f27e1 |
|
BLAKE2b-256 | 6539c2ddd8827862a7da440c641d3b0fc443522b155ec114e929122084bcaa2c |
Hashes for xontrib_init_ssh_agent-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b89115ba27acd56e0235baa691d7c9e4fab8ee33fc1b2bd4ff86ca406b62372a |
|
MD5 | 8554281b032e0f2f2425424d682d52a4 |
|
BLAKE2b-256 | ab15bf1162f764adcc2ece34f11135a36f24cf8b40b14d5a876c0b2fd3f3cd4d |