Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dyuri/xontrib-gitinfo
Displays information on entering a git repository.
https://github.com/dyuri/xontrib-gitinfo
git onefetch xonsh xontrib
Last synced: 27 days ago
JSON representation
Displays information on entering a git repository.
- Host: GitHub
- URL: https://github.com/dyuri/xontrib-gitinfo
- Owner: dyuri
- License: mit
- Created: 2019-12-22T15:17:48.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-10-03T13:35:43.000Z (about 4 years ago)
- Last Synced: 2024-09-30T13:01:21.181Z (about 1 month ago)
- Topics: git, onefetch, xonsh, xontrib
- Language: Python
- Homepage:
- Size: 125 KB
- Stars: 6
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-xontribs - gitinfo - Displays git information on entering a repository folder. Uses `onefetch` if available. (Plugins / Prompt tweaks)
README
# xontrib-gitinfo
Displays git information on entering a repository folder.
Uses [onefetch](https://github.com/o2sh/onefetch) if available.![xontrib-gitinfo in aciton](xontrib-gitinfo.png)
## Requirements
- Python 3.7+ (might work with older version as well)
- [xonsh](https://xon.sh/)
- [optional] [onefetch](https://github.com/o2sh/onefetch)## Install
```
$ pip install xontrib-gitinfo
$ xontrib load gitinfo
```## Logo
If an image called `logo.png` exists in the repository root then it is used by `onefetch`.