Add better-completion setting
This commit is contained in:
parent
081cf16acc
commit
367b3ca5bb
2 changed files with 7 additions and 0 deletions
6
settings.d/better-completion.sh
Normal file
6
settings.d/better-completion.sh
Normal 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
|
|
@ -42,6 +42,7 @@ if [ ! -f "config.sh" ]; then
|
||||||
# Example configuration
|
# Example configuration
|
||||||
|
|
||||||
CONFIG_AUTOSAVE_HISTORY=1
|
CONFIG_AUTOSAVE_HISTORY=1
|
||||||
|
CONFIG_BETTER_COMPLETION=1
|
||||||
CONFIG_CUSTOM_PROMPT=1
|
CONFIG_CUSTOM_PROMPT=1
|
||||||
CONFIG_EDITOR=nano
|
CONFIG_EDITOR=nano
|
||||||
CONFIG_FLOW_CONTROL=0
|
CONFIG_FLOW_CONTROL=0
|
||||||
|
|
Loading…
Reference in a new issue