more structure, for autocompletion

This commit is contained in:
2022-04-29 13:44:10 +03:00
parent b65c44090f
commit 848f3a37f7
2 changed files with 45 additions and 16 deletions

View File

@@ -20,3 +20,7 @@ install() { # Install bake: required prefix as argument
echo \"if [[ -x $bakepath ]]; then . <( $bakepath __autocomplete__ ); fi\" >> ~/.bashrc
"
}
_complete_install() {
echo "\~/.local /usr/local $( compgen -o plusdirs -f -- "$1" )"
}