|
Maybe I found out what was the problem. I added some key bindings by
defining a function. This is the function ~/.config/fish/functions/keybindings.fish: function keybindings -d "User keybindings" fish_default_key_bindings bind \eu 'cd .. ; commandline -f repaint' bind \e\. history-token-search-backward bind \eg __fish_grep bind \eh 'commandline -aj "~/"; commandline -f end-of-line' bind \es 'commandline -aj "/etc/rc.d/"; commandline -f end-of-line' bind \ej prevd-or-backward-word bind \ek nextd-or-forward-word end Then I added this to my ~/.config/fish/config.fish set -U fish_key_bindings keybindings I don't know why but this thing has a strange effect on fish. If you start several terminal emulators and then switch between them they begin to crash. Another strange thing is that once a terminal emulator has obtained the focus and you start writing the first character get lost. For example you start writing ls and on the prompt you get just s. Weird. This happens only the first time you start writing then everything goes fine untile the crash :D. Anyway, I solved this by copying fish_default_keybindings.fish from /usr/share/fish/functions to ~/.config/fish/functions. I added to this function my key bindings and now the problem seems to be fixed. -------- Original Message --------
You are lucky not having this problem. I also consider fish better shell but I cannot use a shell that crashes randomly. If fish shell development stops there aren't many alternatives there other than bash. Zsh is too complex to configure IMHO. Bash syntax is ugly but it's the only shell I would chose after fish experience. On 18/12/09 02:05, Jan Kanis wrote: I've been running fish for over half a year, and I haven't experienced this. Running version 1.23.1 on ubuntu, compiled myself. Even though it isn't really active at the moment, I still consider fish a better shell than others like bash (though I don't know a lot about zsh). The main thing I run into are parsing/encoding inconsistencies, like when additional characters appear when I edit a function. |
------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________ Fish-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fish-users
