A Zsh plugin that adds customizable touchbar buttons for terminal commands and navigation.
zsh-apple-touchbar is a Zsh plugin that adds customizable Touch Bar functionality to iTerm2 on macOS. It allows developers to create buttons on the Touch Bar that execute shell commands or navigate between different views, turning an underutilized hardware feature into a terminal productivity tool.
macOS developers using iTerm2 and Zsh who want to leverage the Touch Bar for faster terminal interactions and command execution.
It provides a unique, scriptable interface for the Touch Bar specifically designed for terminal workflows, offering both simple YAML-based configuration and advanced custom function options for maximum flexibility.
Make your touchbar more powerful.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Supports both simple YAML-based configuration for quick setup and advanced Zsh functions for complex logic, as shown in the README's examples for automatic and manual modes.
Designed specifically for iTerm2's Touch Bar support, ensuring reliable button display and interaction within this popular macOS terminal emulator.
Includes a Ruby script to auto-generate views from a YAML config file, reducing manual coding effort for common command setups.
Maintains view state across interactions, allowing consistent Touch Bar behavior and easy navigation between views, as demonstrated in the custom functions example.
Exclusively requires macOS and iTerm2, making it useless for users on other operating systems or terminal emulators, limiting its broader adoption.
Automatic configuration generation depends on Ruby 2.3.4 or later, adding an extra dependency that some minimalist or non-Ruby environments might not have.
Advanced customization involves writing custom Zsh functions with specific syntax (e.g., create_key, set_state), which can be error-prone and daunting for users unfamiliar with Zsh scripting.
As a niche plugin, it lacks a rich ecosystem of community-shared configs or templates, forcing users to build most setups from scratch.