Sample Header Ad - 728x90

> symbol appearing when interactively defining function in bash

0 votes
2 answers
71 views
The behaviour of my shell environment changed: Earlier, when pasting a function definition e.g. function exampleFunc { echo hello } to the shell, it would display as formatted and register the new function definition. Now, for some reason, it displays with > before each line other than the first. function exampleFunc { >echo hello >} I've found that functions containing for loops now fail to be registered. What might be an explanation for this? How might I revert back to the previous mode? --- Ubuntu 20.04 This change occurred after installing nushell , but maybe unrelated.
Asked by Lee (549 rep)
Mar 11, 2023, 02:38 PM
Last activity: Mar 11, 2023, 04:09 PM