bash: case insensitive completiions
This commit is contained in:
parent
7aeacd1a5a
commit
b8c7d0d37b
|
@ -16,6 +16,8 @@
|
||||||
"checkjobs"
|
"checkjobs"
|
||||||
];
|
];
|
||||||
programs.bash.initExtra = ''
|
programs.bash.initExtra = ''
|
||||||
|
bind 'set completion-ignore-case on'
|
||||||
|
|
||||||
parse_git_branch() {
|
parse_git_branch() {
|
||||||
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
|
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue