Add better-completion setting

This commit is contained in:
JeremyStar™ 2024-06-04 20:53:47 +02:00
parent 081cf16acc
commit 367b3ca5bb
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D
2 changed files with 7 additions and 0 deletions

View file

@ -0,0 +1,6 @@
#!/usr/bin/env bash
if [ "${CONFIG_BETTER_COMPLETION}" == "1" ]; then
bind 'set show-all-if-ambiguous on'
bind 'TAB:menu-complete'
fi

View file

@ -42,6 +42,7 @@ if [ ! -f "config.sh" ]; then
# Example configuration
CONFIG_AUTOSAVE_HISTORY=1
CONFIG_BETTER_COMPLETION=1
CONFIG_CUSTOM_PROMPT=1
CONFIG_EDITOR=nano
CONFIG_FLOW_CONTROL=0