Skip to content

Instantly share code, notes, and snippets.

@dominiksalvet
dominiksalvet / shell-utilities.md
Last active January 30, 2026 07:49
List of all shell utilities with links to the POSIX standard
@stecman
stecman / _README.md
Last active March 6, 2023 11:42
bash-completion extract for dealing with colons

Extract from bash-completion for working with stecman/symfony-console-completion

This is an example extract of the minimum amount of the bash-completion project required to use these two functions:

  • __ltrim_colon_completions
  • _get_comp_words_by_ref

The functions here are copied verbatim from the bash_completion source. I recommend not using this extract unless there are no other alternatives. Instead, prefer installing the bash-completion package from your package manager, or install bash-completion from source.