From 15a847474bd844d642d27cb195b390f7324a1cac Mon Sep 17 00:00:00 2001 From: James Barson Date: Wed, 18 Feb 2026 20:26:41 +0000 Subject: [PATCH] Adds completion cycle to inputrc (#4634) --- default/bash/inputrc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/default/bash/inputrc b/default/bash/inputrc index 11146d64..3b48e554 100644 --- a/default/bash/inputrc +++ b/default/bash/inputrc @@ -37,3 +37,11 @@ set skip-completed-text on # Coloring for Bash 4 tab completions. set colored-stats on + +# Cycle forward and backward through completion candidates (tab/shift+tab) +# (completion listing and display behavior configured above) +TAB: menu-complete +"\e[Z": menu-complete-backward + +# On first Tab, complete the common prefix before cycling candidates +set menu-complete-display-prefix on