On 29/04/2021 14:30, Daniel Shahaf wrote:
zzapper wrote on Tue, Apr 27, 2021 at 08:10:54 +0100:Pity we don't have an online script tester for zsh (many for bash)What would that do, and why need it be online?I prefer an Alias to a Function where possible because it's easy to tab expand an alias and then if required tweak itWith a function, you run fned on it, then invoke edit-command-line and delete the function's name on the first line, so you're left with an anonymous function ready to be run.
# did you mean zed -f myfunc # thanks for the anonymous function tip