complete NAME seems to diasable completion for NAME in the case of git

2023-12-21 Thread Britton Kerin
help complete shows: $ help complete 5001 complete: complete [-abcdefgjksuv] [-pr] [-DEI] [-o option] [-A action] [-G globpat] [-W wordlist] [-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [name ...] Specify how arguments are to be completed by Readline.

binding key sequence "js" to vi-command-mode?

2008-12-11 Thread Britton Kerin
I find Escape hard to get to in vi so I map the sequence "js" to it. I'm wondering if its possible to emulate this behavior in bash. I tried: bind -m vi-insert "js": vi-command-mode but it doesn't seem to work: typing the sequence from insert mode just beeps when j is typed and then the s

colored bash prompts seem to confuse readline

2010-02-09 Thread Britton Kerin
Well ok its not just a plain colored prompt, what I would like to use is this: txtred='\e[0;31m' # Red bldgrn='\e[1;32m' # Green txtrst='\e[0m'# Text Reset PROMPT_COMMAND=' \ if [ $? -eq 0 ]; then \ PROMPT_PREFIX="$txtred"; \ else \ PROM

fallback programmable completion for many or all commands

2010-05-30 Thread Britton Kerin
I like the programmable completion but I'm having some trouble getting it do do exactly what I want: I have a directory called fsbmk with links into my tree structure. I'd like all commands to fall back to looking here if they don't find anything else, or at least to merge all completion from thi

set isearch-terminators "\r" in .inputrc causes malloc assert fails/death

2016-05-04 Thread Britton Kerin
I tried with export INPUTRC=test_inputrc, where test_inputrc contains just this: set isearch-terminators "\r" this causes bash to sometimes spit out things like this: bkerin@debian:~$ ls malloc: .././variables.c:2497: assertion botched malloc: block on free list clobbered last command: ls Abort