git clone https://github.com/zsh-users/zsh-autosuggestions ~/Documents/.zsh-suggestions ln -s ~/Documents/.zsh-suggestions ~/.oh-my-zsh/plugins/zsh-autosuggestions 修改~/.zshrc文件,找到plugins字段,添加suggestions。修改后的样子大概是这样: plugins=( git autojump zsh-autosuggestions ) 8.3 安装syn...
zsh-autosuggestions:命令提示,输入时会灰字提示推荐命令,直接键盘➡️补全,并不是 tab 键;其中git和z插件是 oh my zsh 自带的,可直接配置.zshrc文件使用。另外两个需要安装。安装 zsh-syntax-highlighting:git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $...
git clone https://github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/plugins/zsh-autosuggestions 插件syntax-highlighting git clone https://github.com/zsh-users/zsh-syntax-highlighting ~/.oh-my-zsh/plugins/zsh-syntax-highlighting 下载完毕后,修改配置文件,输入vim ~/.zshrc,找到图片中的这一行...
5 快捷键 二SHELL的选择:ZSH 1 安装 2 设置zsh为默认shell 三 配置zsh 1 安装 2 主题 3 推荐插件 命名高亮:zsh-syntax-highlighting 命令补全:zsh-autosuggestions git操作加速:git 目录跳转:autojump 文件解压:extract 键盘相对于鼠标是高效的,可以多使用。好用的终端环境不仅要好看,更加要高效,键盘虽然是高效的...
zsh-autosuggestions Copy gitclonegit://github.com/zsh-users/zsh-autosuggestions$ZSH_CUSTOM/plugins/zsh-autosuggestions 在~/.zshrc中配置 Copy plugins=(其他的插件 zsh-autosuggestions) 因为箭头→不太方便,在.zshrc中自定义补全快捷键为逗号,但是又一次遇到了需要输入逗号的情况,所以,并不太推荐如下修改: ...
cd ~ cd .oh-my-zsh/plugins git clone git://github.com/zsh-users/zsh-autosuggestions cd ~ vim ~/.zshrc 然后修改 plugins=(git) 为 plugins=(git zsh-autosuggestions) 截图工具 下载地址 之后安装,在设置快捷键 image.png flameshot gui
功能:输入命令时可提示自动补全(灰色部分),然后按键盘 → (上下左右的右键,不是tab键)即可补全 1)git安装 git clone https://github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions 1. 2)vi ~/.zshrc文件,找到plugins配置,增加zsh-autosuggestions插件。
使用快捷键:ctrl+R 下面这三个先下载后配置 语法高亮:zsh-syntax-highlighting 纯文本 复制 git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting 自动补全:zsh-autosuggestions 纯文本 复制 git clone https://github.com...
在~/.zshrc 中添加默认启动autosuggestions:source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh 重新打开一个终端后生效,或者source ~/.zshrc 安装tumx tmux效果图.png 安装tmux:sudo apt install tmux 常用快捷键:c+b+s、c+b+z、c+b+d、c+b+%、c+b+"、tmux a、tmux attach -t、 ...
按下tab 键显示出所有待选项后,再按一次 tab 键,即进入选择模式,进入选择模式后,按 tab 切向下一个选项,按 shift+tab 键切向上一个选项,ctrl+f/b/n/p 可以向前后左右切换。 下载插件 首先,我们需要下载zsh-autosuggestions插件: cd~/.oh-my-zsh/custom/plugins ...