There is a small bug in the defautl Alt-P keybinding, due to variable
expansion inside double-quotes:

>
fish: Variable name is zero characters long.
if commandline -j|grep -v "less *$" >/dev/null; commandline -aj "|less;"; end
                          ^


Single quotes work fine:

> cat ~/.fish_inputrc
$include /usr/local/etc/fish_inputrc
"\M-p": if commandline -j | grep -v 'less *$' >/dev/null; commandline
-aj " | less;"; end


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Fish-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to