有时我在
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
我怎样在从历史记录中取出的多行命令的中间插入一个换行符?