Crates.io | tish |
lib.rs | tish |
version | |
source | src |
created_at | 2025-01-29 22:41:52.632105 |
updated_at | 2025-02-03 05:31:17.754391 |
description | A tiny, fast shell with not so tiny features |
homepage | |
repository | https://github.com/theMackabu/tish |
max_upload_size | |
id | 1535735 |
Cargo.toml error: | TOML parse error at line 17, column 1 | 17 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
TISH is a small and fast Unix shell written in Rust. It aims to provide a powerful and customizable shell experience while keeping the codebase concise and efficient.
ls
command with icons and color codingcargo install tish
tish # Start shell
tish -c "command" # Execute command and exit
tish -n # Start without loading environment
tish -H # Run in headless mode
tish -L # Login shell (loads .tish_profile)
Tish uses a powerful templating system for prompt customization. For detailed information about all templating features, see the full prompt documentation.
The default prompt template is:
{user}@{host} {path} {prompt}
Available template variables include:
{user}
: Current username{host}
: Hostname{path}
: Current path (with variants like path-pretty, path-folder){git.*}
: Git status information{prompt}
: Shell prompt character (# for root, % for users)Git information is automatically available in templates:
{git.branch}
: Current branch name{git.status}
: Status indicators (+, ~, -){git.ahead}
, {git.behind}
: Commit difference with remote{git.working.changed}
: Working directory status{git.staging.changed}
: Staging area statusConfiguration is done through .tishrc
in your home directory:
-- Example configuration
config.history_size = 500
config.auto_cd = true
config.use_tish_ls = true
config.show_hidden = false
config.prompt = "{user}@{host} {path} {prompt} "
git clone https://github.com/themackabu/tish
cd tish
cargo install --path .
Unix-like operating system (Linux, macOS, BSD)