小编aos*_*235的帖子

zsh:hist_find_no_dups 是什么意思?

  HIST_FIND_NO_DUPS
         When searching for history entries in the line editor, do not display duplicates of a line previously found, even if  the  duplicates  are  not contiguous.
Run Code Online (Sandbox Code Playgroud)

但是,当我重复使用 Ctrl-p 时,会出现相同的命令。

$ ls
$ pwd
$ ls
$ <Ctrl-p> => ls 
  <Ctrl-p> => pwd
  <Ctrl-p> => ls  again!
Run Code Online (Sandbox Code Playgroud)

zsh 5.0.5 (x86_64-apple-darwin14.0)

zsh

5
推荐指数
1
解决办法
1323
查看次数

标签 统计

zsh ×1