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: 10 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 (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-10-03T13:35:43.000Z (over 4 years ago)
- Last Synced: 2025-04-10T12:34:19.491Z (11 days ago)
- Topics: git, onefetch, xonsh, xontrib
- Language: Python
- Homepage:
- Size: 125 KB
- Stars: 6
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# xontrib-gitinfo
Displays git information on entering a repository folder.
Uses [onefetch](https://github.com/o2sh/onefetch) if available.
## 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`.