there is such a scene:
when I rewrite a history command like grep 'xxx' xxx.log, I delete the 'xxx with ctrl + w.
Then I input a ', there will be a suggestion here from the history, and I paste a new key words like yyy, the command will be grep 'yyy' xxx.log. But the suggestion hasn't gone away, when I click the return, the suggestion will replace the command to grep 'xxx' xxx.log' xxx.log. This always bugs me when I type too fast.
there is such a scene: when I rewrite a history command like
grep 'xxx' xxx.log
, I delete the'xxx
with ctrl + w. Then I input a'
, there will be a suggestion here from the history, and I paste a new key words likeyyy
, the command will begrep 'yyy' xxx.log
. But the suggestion hasn't gone away, when I click thereturn
, the suggestion will replace the command togrep 'xxx' xxx.log' xxx.log
. This always bugs me when I type too fast.