I was using fish as my login shell for several months now. Worked  
pretty well.
But just two days ago I finally got tired of not being able to cut a  
line with ^k and paste it back with ^y, so I switched to zsh.
Does ^y work for anyone else on OS/X? How do you cut/paste from the  
keyboard?

Actually, I just noticed that when X11 is running, and assuming you  
enabled syncing of the X11 clipboard and the OSX pasteboard (in the  
preferences menu of X11), then ^k puts the end of the line into the  
clipboard, which then goes to the pasteboard, and can thus be pasted  
with apple-v. But for some reason, it is put into the clipboard with  
an additional newline, so ^k followed by apple-v cuts and pasts back  
the end of the line, and then hits return.

That is actually very easy to fix: in kill.c:99c99
<               wchar_t *cmd = wcsdupcat(L"echo -n ", escaped_str, L"|xsel -b" 
);
---
 >              wchar_t *cmd = wcsdupcat(L"echo ", escaped_str, L"|xsel -b" );



Michael

On 30 Mar 2010, at 21:14, David Frascone wrote:

>
> I had to quit using fish, due to constant script incompatibilities.   
> I guess some script authors are too lazy to add hash-bang-bash to  
> the top of their scripts . . .
>
> Has anyone had any success making fish their real new home?  Oh --  
> and I also had some issues with the select bug that was posted here  
> a while ago, but is still not patched :(
>
>
> -Dave
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev_______________________________________________
> Fish-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fish-users


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to