Hello

I'm looking for a way to set a Readline variable, but without editing
the init (~/.inputrc or /etc/inputrc) file.

E.g., I'd like to have

  set show-all-if-ambiguous on

The thing is that I have to login to some remote server with a login that I share with other users and I don't want to impose my settings by
saving my options in a file.

I tried

 bind set show-all-if-ambiguous on

but this leads to a corrupted readline behaviour: I can't type anymore 's'.

Reading the manual (http://www.gnu.org/software/bash/manual/bashref.html#Bash-Builtins) it says explicitly (for the Builtin command 'bind'):

  "Display current Readline (see Command Line Editing) key and
   function bindings, bind a key sequence to a Readline function or
   macro, or set a Readline variable."

I haven't find any example so far, so I'm thankful for any help or pointer.

regards
andi

Andi Bachmann
Department of Geography, University of Zurich


Reply via email to