I see the same problem in Gentoo using fish-1.23.1 and on antiX using
fish version 1.23.1-2 (from Debian repos I believe).
For some reason fish_indent prepends a "1" in front of the ">"
redirection symbol. It also swallows a leading space.
This means that using funced tends replace working functions with
broken ones.
Compare the output of:
> functions help | grep ">"
to the output of:
> functions help | fish_indent | grep ">"
or:
> functions help | fish_indent | fish_indent | grep ">"
The following function is a quick and dirty fix that could cause other
breakage (when someone wants to use "1>" inside of a function):
function fish_indent
command fish_indent | sed 's/1\+>/ >/'
end
Peace, James
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users