bash: case insensitive completiions

This commit is contained in:
Peder Bergebakken Sundt 2023-07-19 22:59:12 +02:00
parent 7aeacd1a5a
commit b8c7d0d37b

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)/'
}