$var invokes function?

2009-08-07 Thread jscripter
Hi, Is it possible to create a variable whose value is determined by a function? Silly example: somehow define $today to return the output of /bin/date and that way one can write: echo today is $today Thanks, -- View this message in context: http://www.nabble.com/%24var-invokes-function--t

menu-complete command fails to complete file names

2009-08-07 Thread Jérôme REYBERT
I bind the "menu-complete" command to key with the following line in my .bashrc: bind '"\t"':menu-complete menu-complete is a bash command. It allows to bash to display in a different way completions. Instead of display a list of completion, possible completions rolls on your current line. I am p