Re: [Fish-users] commandline function and escaping

2012-01-24 Thread Maxim Gonchar
Hi, > I agree that 'commandline -b' indeed has a less-than-optimal behaviour. > We could add a switch to tell it not to interpret escape characters, but > I > really can't think of a use for the current behaviour either, so I agree > that it should just be fixed. I committed a fix to my person

Re: [Fish-users] commandline function and escaping

2012-01-24 Thread Jan Kanis
I agree that 'commandline -b' indeed has a less-than-optimal behaviour. We could add a switch to tell it not to interpret escape characters, but I really can't think of a use for the current behaviour either, so I agree that it should just be fixed. I committed a fix to my personal branch on gitori

[Fish-users] commandline function and escaping

2012-01-23 Thread Maxim Gonchar
Hi, I have a function which puts current commandline buffer to the editor. It's really useful sometimes. function .edit_cmd --description 'Edit cmdline in editor' set -l f (mktemp) set -l p (commandline -C) commandline -b > $f vim