Disable tab completions for bash since they rely on the user having bash completions installed, which not everyone does

This commit is contained in:
David Dworken
2023-12-20 19:51:25 -08:00
parent efe2ccc817
commit 1edb6642a9
2 changed files with 6 additions and 2 deletions

View File

@@ -2373,6 +2373,12 @@ func testPresaving(t *testing.T, tester shellTester, shellName string) {
}
func testTabCompletion(t *testing.T, tester shellTester, shellName string) {
if shellName == "bash" {
// TODO: Enable tab completions for bash by adding the below line to config.sh
// type _get_comp_words_by_ref &>/dev/null && source <(hishtory completion bash)
t.Skip()
}
// Setup
defer testutils.BackupAndRestore(t)()
installHishtory(t, tester, "")