//! `colorant init <shell>` — emit a shell integration snippet to stdout.
//!
//! Usage in shell rc files (zsh):
//!
//! ```sh
//! eval "$(colorant init zsh)"
//! ```
use crateShell;
use crateshell;
use Result;
/// Best effort: ask the OS for the absolute path to our own binary. Falls back
/// to the plain name `colorant` so the snippet still works if the binary is
/// on PATH.