oh-my-zsh官网:https://ohmyzsh.sh/#insatll 1、curl/wget下载 使用curl: zsh sh -c"$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" 使用wget: bash sh -c"$(wget -O- https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)...
Ohmyzsh下载 https://ohmyz.sh/#install sh -c "$(curl -fsSLhttps://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
安装方式:把插件下载到本地的~/.oh-my-zsh/custom/plugins目录。 # 国内用户可用git clonehttps://gitee.com/Annihilater/zsh-syntax-highlighting.git${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting# githubgit clone https://github.com/zsh-users/zsh-syntax-highlighting.git${ZSH_C...
切换shell chsh -s /bin/zsh 安装oh-my-zsh sh-c"$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" 或者 sh-c"$(wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)" 下载zsh-syntax-highlighting 语法高亮插件 git clone ht...
下载incr 自动补全插件http://mimosa-pudica.net/src/incr-0.2.zsh 将插件放在 oh-my-zsh 自定义插件目录中,文件找不到就先创建。 /Users/binny/.oh-my-zsh/custom/plugins/incr 打开oh-my-zsh 配置文件 vim ~/.zshrc 72BCC01E-4F4C-4CE5-8F81-EAD8C2AA45D3.png ...
一、Oh-My-Zsh 官方下载: https://github.com/toxicwebdev/robbyrussell-oh-my-zsh oh-my-zsh是基于zsh的功能做扩展,在插件管理、主题自定义更方便,智能目录切换和命令的选项、参数补齐,这些漂亮的自动完成效果。 二、Shell的分类# 相对于内核来说,Shell是Linux/Unix的一个外壳,它负责外界与Linux内核的交互,接...
安装插件 1、自动补全 zsh-autosuggestions git clone https://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions 2、语法高亮 zsh-syntax-highlighting git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting 引入插件 ...
安装ohmyzsh 让你的终端有色彩 安装办法,按照视频里做就行;安装ohmyzsh需要的工具:git wget curl ohmyzsh下载地址:https://github.com/ohmyzsh/ohmyzsh
可以直接在终端打开~/.zshrc 文件并编辑,以配置插件,主题等。也可以直接找到该文件打开编辑 编辑时需要按 i 键进入 insert 模式 编辑完成后按 esc,输入 :wq! ,即可保存成功 修改主题 修改ZSH_THEM 为 random可使每次打开都是一个随机的主题 其他主题:https://github.com/ohmyzsh/ohmyzsh/wiki/Themes也可以在...
插件在 .zshrc 的 plugins 中进行添加。 这些插件可以让oh-my-zsh更好用,推荐安装,不安装对使用vim也没什么影响。 分两步 $ZSH_CUSTOM安装完 zsh 后,默认已经存在。 安装zsh-autosuggestions 这是一个超级好用的插件,直接显示命令的操作记录,可以快速使用重复命令。