在这里我们首先说一下mac终端执行命令的时候,不会像在windows系统中安装的linux一样支持自动补全,需要自己去调试 步骤如下: (1)打开终端输入nano .inputrc(这里一定要注意nano后面有一个空格) (2)在nano编辑器中写上如下命令 set completion-ignore-case on set show-all-if-ambiguous on TAB: menu-complete (3)按下ctrl+o,回车,重启终端,自动补全按tab键就
1.打开nano编辑器 输入命令 nano .inputrc,回车,打开nano编辑器 2.在nano编辑器中输入如下命令: set completion-ignore-case on set show-all-if-ambiguous on TAB: menu-complete ctrl + o ,回车,关闭并终止终端,退出终端重启,之后按tab键即可自动补全
Input History readline tracks the input history automatically. There are two different sets of functions for working with the history. The history for the current session can be accessed with get_current_history_length()and get_history_item(). That s