直接克隆Git仓库安装 如果你没有使用oh-my-zsh,可以直接从GitHub克隆zsh-autosuggestions仓库到你的本地机器: 克隆仓库到~/.zsh/zsh-autosuggestions(或你选择的任何目录): sh git clone https://github.com/zsh-users/zsh-autosuggestions ~/.zsh/zsh-autosuggestions 打开你的.zshrc文件。 添加以下行来设置...
1. 插件列表 zsh-autosuggestions:这个是自动建议插件,能够自动提示你需要的命令。 zsh-syntax-highlighting:这个是代码高亮插件,能够使你的命令行各个命令清晰明了。 2. 安装插件 2.1 自动安装 2.1.1 添加插件 Oh My Zsh 提供了一种简便的
Oh My Zsh 方式安装 zsh-autosuggestions GitHub仓库地址 把插件仓库克隆到$ZSH_CUSTOM/plugins(默认位置是 ~/.oh-my-zsh/custom/plugins) git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions ...
114514, 视频播放量 2259、弹幕量 0、点赞数 28、投硬币枚数 21、收藏人数 34、转发人数 3, 视频作者 猫猫滑滑, 作者简介 people hearing without listening,相关视频:termux配置lunarvim详细教程(平板写代码生产力!!!,平板写代码最优解!!( termux & lunarvim )
食用简单快捷,适用于CentOS 下载: git clone https://github.com/zsh-users/zsh-autosuggestions.git echo "source ${(q-)PWD}/zsh-autosuggestions/zsh-autosuggestions.zsh" >> ${ZDOTDIR:-$HOM…
zsh-autosuggestions是一个命令提示插件,,当你输入命令时,会自动推测你可能需要输入的命令,按下右键可以快速采用建议。效果如下: zsh-autosuggestions 插件效果 安装步骤: 把插件下载到本地的~/.oh-my-zsh/custom/plugins目录: git clone https://github.com/zsh-users/zsh-autosuggestions${ZSH_CUSTOM:-~/.oh-...
1:安装oh-my-zsh sh -c"$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" 2、安装zsh-autosuggestions git clone git://github.com/zsh-users/zsh-autosuggestions$ZSH_CUSTOM/plugins/zsh-autosuggestions ...
1. oh-my-zsh安装 sudoapt-get update sudoapt-get installzsh sh-c"$(wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)" 1. 2. 3. 然后termianl关闭,然后重新登陆就可以启用zsh啦 2.zsh-autosuggestions安装 ...
autosuggestions设置 最后就是另一个及其重要的功能,zsh-autosuggestions,它是在zsh基础上的命令提醒功能,大多数情况下,我们键入的命令有很高的重复性,而这个提醒功能能有效提高效率。 安装zsh-autosuggestions: 代码语言:javascript 复制 git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~...