Skip to content

Latest commit

 

History

History

recipes

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

🍲 Recipes

Alias autocompletion

When you define an alias for a subcommand, bash completion doesn't work for it. To fix it:

source /usr/share/bash-complete-alias/complete_alias
  • Then define the alias and enable completion for it, for example:
alias go="paths go"
complete -F _complete_alias go