A fish shell plugin that displays tips when you can use abbreviations or aliases, helping you remember them.
fish-abbreviation-tips is a plugin for the fish shell that displays tips when you can use abbreviations or aliases, helping you remember them. It automatically tracks changes to your shell shortcuts and provides contextual reminders as you type commands, reducing the need to memorize complex or frequently used command sequences.
Fish shell users who rely on abbreviations and aliases for productivity, particularly developers and system administrators looking to optimize their command-line workflow.
It offers a lightweight, non-intrusive way to learn and recall shell shortcuts without slowing down the prompt, with customizable prompts and regex matching for flexible tip display.
💡 Help you remembering your abbreviations
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Monitors changes to abbreviations and aliases in real-time using the abbr or functions commands, ensuring tips are always current without manual updates, as described in the 'Behind the scenes' section.
Allows full control over tip format via the ABBR_TIPS_PROMPT environment variable with placeholders for abbreviation and command, enabling personalized prompts like the default '💡 ga => git add'.
Supports regex patterns in ABBR_TIPS_REGEXES to match commands with arguments, so tips appear for partially typed commands like git commit -m 'message', enhancing flexibility beyond exact matches.
Stores abbreviations and aliases in lists for fast retrieval, avoiding loops on each keystroke to prevent prompt slowdown, as optimized to not involve iterating over all shortcuts each time.
Only works with fish shell version 3.1.0 or higher, excluding users of other shells or older fish versions, which limits its applicability in mixed or legacy environments.
Installation is tied to the Fisher plugin manager, requiring additional setup for users not already using it, and there's no documented alternative installation method in the README.
Users must manually set and understand regex patterns in ABBR_TIPS_REGEXES for advanced matching, which can be error-prone and demands technical knowledge, as highlighted in the default configuration examples.