I'm running fish v3.5.1, on openSUSE Linux 6.0 and TERM=xterm-256color; I have no customizations.
I was trying to do something akin to bash's search and replace in the last command:
> echo Hello
Hello
> eval $(string replace Hello Hi $history[1])
Hi
> eval $(string replace Hello Hi $history[1])
[1] 13363 segmentation fault (core dumped) fish
If you do this from a parent shell then you get a SIGSEGV (Address boundary error). I really don't have a good idea for what might be causing this, but I suspect it's because there might be an infinite recursion in eval above (not sure about the semantics of fish).
Still, having one's shell segfault is much worse than catching this error or even arbitrarily limiting the depth.
I'm running
fish v3.5.1, on openSUSE Linux6.0andTERM=xterm-256color; I have no customizations.I was trying to do something akin to bash's search and replace in the last command:
If you do this from a parent shell then you get a
SIGSEGV (Address boundary error). I really don't have a good idea for what might be causing this, but I suspect it's because there might be an infinite recursion inevalabove (not sure about the semantics offish).Still, having one's shell segfault is much worse than catching this error or even arbitrarily limiting the depth.