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.
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
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
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
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