是酱汁的,我在几天前输入了"zip ... " 的压缩命令(为了将mac下一些隐藏文件排除的压缩命令),但我记不清,又不想去百度了(这种需求还挺多的,呵呵)
有什么办法根据我输入的开头几个字“zip” 然后找到我上一次输入这条命令时的完整命令呢?
有什么办法根据我输入的开头几个字“zip” 然后找到我上一次输入这条命令时的完整命令呢?
1
halfbloodrock Apr 4, 2014
ctrl + r
|
2
lsj5031 Apr 4, 2014
history | grep
|
3
jedyu Apr 4, 2014
history | grep zip
|
4
lang1pal Apr 4, 2014
page up && page down
|
5
fangzhzh Apr 4, 2014 via Android
ctrl r 命令
|
6
ceclinux Apr 4, 2014
oh-my-zsh 好像默认输入zip 按page up ,page down即可
|
7
jiyinyiyong Apr 4, 2014
```
➤➤ cat ~/.inputrc "\e[A":history-search-backward "\e[B":history-search-forward set show-all-if-ambiguous on set completion-ignore-case on ``` |
8
hackevin Apr 4, 2014
esc /zip
|
9
dun2 Apr 5, 2014 zfs是王道
|
10
diseng1991 Apr 6, 2014 ctrl+r 搜索 *nux通用
zip+上键 zsh可用 |