https://github.com/drager/geometry-rust-version
Geometry plugin to display the current folder's Rust version.
https://github.com/drager/geometry-rust-version
geometry zsh
Last synced: 8 months ago
JSON representation
Geometry plugin to display the current folder's Rust version.
- Host: GitHub
- URL: https://github.com/drager/geometry-rust-version
- Owner: drager
- License: apache-2.0
- Created: 2018-10-05T13:43:50.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-05T16:52:40.000Z (about 7 years ago)
- Last Synced: 2025-01-25T16:29:22.148Z (10 months ago)
- Topics: geometry, zsh
- Language: Shell
- Homepage:
- Size: 4.88 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-zsh-plugins - geometry-rust-version - [Geometry](https://github.com/geometry-zsh/geometry) plugin to display the current folder's Rust version when either a `.rs` or `Cargo.toml` is present. (Plugins / ZSH on Windows)
- fucking-awesome-zsh-plugins - geometry-rust-version - <b><code> 984⭐</code></b> <b><code> 97🍴</code></b> [Geometry](https://github.com/geometry-zsh/geometry)) plugin to display the current folder's Rust version when either a `.rs` or `Cargo.toml` is present. (Plugins / ZSH on Windows)
- awesome-zsh-plugins - geometry-rust-version - [Geometry](https://github.com/geometry-zsh/geometry) plugin to display the current folder's Rust version when either a `.rs` or `Cargo.toml` is present. (Plugins / Zinit (née zplugin))
README
# Geometry Rust version plugin
[Geometry](https://github.com/geometry-zsh/geometry) plugin to display the current folder's Rust version when either a `.rs` or `Cargo.toml` is present.

## Installation
Installation depends on the way you manage your plugins for zsh.
**Note:** This plugin needs to be loaded after geometry.
An easy way to get it, is to clone this repository:
`git clone git@github.com:drager/geometry-rust-version.git`
Then source it:
`source /path/to/geometry-rust-version/rust_version.zsh`
## Configuration
### Colors
```
GEOMETRY_COLOR_RUST_SYMBOL=${GEOMETRY_COLOR_RUST_SYMBOL:-red}
GEOMETRY_COLOR_RUST_VERSION=${GEOMETRY_COLOR_RUST_VERSION:-red}
```
### Symbols
```
GEOMETRY_RUST_SYMBOL=${GEOMETRY_RUST_SYMBOL:-"𝗥"}
```
## Features and bugs
Please file feature requests and bugs at the [issue tracker][tracker].
[tracker]: https://github.com/drager/geometry-rust-version/issues