just icon indicating copy to clipboard operation
just copied to clipboard

Improve bash completion with alias extraction and submodule support

Open tomers opened this issue 1 month ago • 0 comments

Enhanced the bash completion script with the following improvements:

  • Extract both recipes and aliases from 'just --list' output instead of only using 'just --summary', providing more complete completions
  • Add support for submodule recipe completion when typing 'just '
  • Automatically detect module justfiles in common locations (, /justfile, modules/, modules//justfile)
  • Parse aliases from both [alias: ...] and [aliases: ...] patterns in list output
  • Add fallback to --summary if --list fails for better compatibility
  • Improve recipe name extraction to handle edge cases better

These changes make tab completion more comprehensive and useful for projects using just modules and aliases.

tomers avatar Nov 22 '25 19:11 tomers