/geometry-rust-version

Geometry plugin to display the current folder's Rust version.

Primary LanguageShellApache License 2.0Apache-2.0

Geometry Rust version plugin

Geometry plugin to display the current folder's Rust version when either a .rs or Cargo.toml is present.

Screenshot

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.