diff --git a/settings.d/better-completion.sh b/settings.d/better-completion.sh new file mode 100644 index 0000000..8ca6f3b --- /dev/null +++ b/settings.d/better-completion.sh @@ -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 diff --git a/startup.sh b/startup.sh index 85edf82..c333b63 100755 --- a/startup.sh +++ b/startup.sh @@ -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