小编Tyr*_*rop的帖子

在 zsh 中使用来自旧 .inputrc 的自定义命令?

.inputrc当我使用 bash 时,我曾经有这个,但它在 ZSH 中不起作用,因为 ZSH 不读取 .inputrc (AFAIK):

$if Bash
  # Meta+O can be made to load the previous 
  # command and position the cursor for typing an option
  "\eo": "\C-p\C-a\ef "
Run Code Online (Sandbox Code Playgroud)

这是我在 bash 时代最怀念的一件事。有没有办法将此命令移植到 ZSH?我尝试了一些绑定键恶作剧,但收效甚微。

zsh

6
推荐指数
1
解决办法
4111
查看次数

标签 统计

zsh ×1