| Crates.io | tish |
| lib.rs | tish |
| version | 0.5.2 |
| created_at | 2025-01-29 22:41:52.632105+00 |
| updated_at | 2025-02-03 05:31:17.754391+00 |
| description | A tiny, fast shell with not so tiny features |
| homepage | |
| repository | https://github.com/theMackabu/tish |
| max_upload_size | |
| id | 1535735 |
| size | 316,646 |
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)