Skip to content

CarterMcAlister/tide-mise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

tide-mise

A Tide prompt segment for mise that shows locally-configured tools.

Unlike Tide's built-in items for individual tools (node, python, go, etc.), this plugin shows all tools from your project-local mise files (for example mise.toml, .mise.toml, or .tool-versions) — only local overrides, not global defaults.

Prerequisites

Install

fisher install CarterMcAlister/tide-mise

The plugin automatically adds mise to your right prompt items on install.

Configuration

Variables

Variable Default Description
tide_mise_color bryyellow Foreground color
tide_mise_bg_color normal Background color
tide_mise_detect_files mise.toml .mise.toml mise.local.toml .mise.local.toml .tool-versions File names that trigger the segment (checked in current dir and parents)
tide_mise_detect_folders .mise Folder names that trigger the segment (checked in current dir and parents)
tide_mise_max_tools 0 Max tools to display (0 means no limit)

Moving the segment

To control where the segment appears, edit your prompt items:

# Show on the right (default)
set -U tide_right_prompt_items $tide_right_prompt_items mise

# Or show on the left
set -U tide_left_prompt_items $tide_left_prompt_items mise

How it works

  1. Checks for local mise files/folders (configurable with tide_mise_detect_files and tide_mise_detect_folders) in the current directory or any parent.
  2. Runs mise ls --current --local --no-header to get active local tools.
  3. Falls back to mise ls --current --no-header and filters global config paths when --local is unavailable.
  4. Displays each tool with its Tide icon (e.g. for node, 󰌠 for python) and version. Falls back to tool version text if no Tide icon is configured.
  5. If tide_mise_max_tools is set and there are extra tools, shows a +N overflow indicator.

Example output: 󰳓 1.2.17 or 󰳓 1.2.17 22.1.0

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages