有时我在以下位置使用多行命令zsh
:
❯ echo \
> a \
> multiline \
> command
从历史搜索中提取命令后编辑命令时,我可以更改各行的内容。但是,我不知道如何插入另一行:
# I want to insert another line after "multiline"...
❯ echo \
> a \
> multiline \ # but hitting <return> here just runs the command, even though there's a backslash at the end of the line
> command
如何在从历史记录中提取的多行命令中间插入换行符?