Fish shell and Putty

If you run into some weird characters while using Fish shell from Putty, try changing Putty’s remote character set to UTF-8:

Right Click Putty -> Change Settings -> Window -> Translation -> Remote Character Set -> UTF-8.

Before and after:

[email protected] ~> vi /home/jdrews/.config/fish/fish
â¦fish/fish_history  â¦fish/fishd.00155d03510c
[email protected] ~> vi /home/jdrews/.config/fish/fish
…fish/fish_history  …fish/fishd.00155d03510c

And if your Home and End keys don’t work, try putting this into your file .

[email protected] ~> cat ~/.config/fish/
function fish_user_key_bindings
        bind \e\[1~ beginning-of-line
        bind \e\[3~ delete-char
        bind \e\[4~ end-of-line




Leave a Reply

Your email address will not be published. Required fields are marked *