bash: case insensitive completiions

This commit is contained in:
Peder Bergebakken Sundt 2023-07-19 22:59:12 +02:00
parent 7aeacd1a5a
commit b8c7d0d37b
1 changed files with 2 additions and 0 deletions

View File

@ -16,6 +16,8 @@
"checkjobs"
];
programs.bash.initExtra = ''
bind 'set completion-ignore-case on'
parse_git_branch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
}