sudo apt-getupdatesudo apt-getupgrade 3. 安装 oh-my-zsh a. 安装 zsh sudo apt-getinstall zsh 设置默认 shell 为 zsh chsh -s $(whichzsh) 设置完成后使用下列命令检查是否设置成功 echo$SHELL b. 安装 oh-my-zsh sh -c"$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/too...
1.开始安装zsh sudo apt-get install zsh 2.安装oh-my-zsh wget https://gitee.com/mirrors/oh-my-zsh/raw/master/tools/install.sh 会下载一个配置文件install.sh(最好在kail的根目录里操作这些命令,否则可能出现报错) 然后给install.sh添加权限: chmod +x install.sh 然后执行install.sh: ./install.sh ...
chsh -s/bin/zsh WSL(Ubuntu) 默认是未安装 zsh的,使用以下指令安装并切换: sudoapt-getinstall zsh chsh -s /bin/zsh ④ 更新 zsh(oh-my-zsh) omz update 2. 安装 oh my zsh 使用以下指令下载并安装 oh my zsh sudo apt install zsh sh -c"$(curl -fsSL https://raw.githubusercontent.com/robb...
注意:将目录切换到~/.oh-my-zsh/custom/plugins中,然后按照下面步骤进行操作即可。 Clone this repository in oh-my-zsh's plugins directory: git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting Activate the plugin ...
socks5 127.0.0.1 1080 ###按下Esc后键入“:x”保存并退出vim编辑器### 这样一来希望走代理的命令就可以在前面+ proxychains,后面接命令 选择第三种安装方式 proxychains curl -Lo install.sh https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh ...
WSL2子系统下ubuntu18.04安装oh-my-zsh sudo apt-get install zsh wget --no-check-certificatehttps://gitee.com/mirrors/oh-my-zsh/raw/master/tools/install.sh-O - | sh 第二步出错的话,可以尝试下面的方法 git clonehttps://gitee.com/mirrors/oh-my-zsh.git ...
sh -c "$(wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)" # 如果打不开github可以使用gitee镜像安装 sh -c "$(wget https://gitee.com/mirrors/oh-my-zsh/raw/master/tools/install.sh -O -)" # 安装完成后,可以打开 ~/.zshrc 修改配置 vim ~/.zshrc ...
oh-my-zsh 自定义终端 PS1中的 Conda 和 Virtualenv 环境标识 2763926672阅读555 0条评论 得票最新 评论支持部分 Markdown 语法:**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用。你还可以使用@来通知其他用户。 注册登录
安装zsh sudo apt-get install zsh 1. 安装oh-my-zsh sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" 1. 配置主题 自定义主题 这里是复制agnoster主题,然后修改其中的配色: cp ~/.oh-my-zsh/themes/agnoster.zsh-theme ~/.oh-my-zsh/custom/themes...
Win10LTSC安装WSL+oh-my-zsh Win10LTSC 安装WSL+oh-my-zsh 普通的Windows 10中,可以在应⽤商店中安装⾃⼰喜欢的发⾏版,但是LTSC 并没有应⽤商店,所以稍微⿇烦点。win10 LTSC 2019对应正常的Win10 1809版本。相⽐之前的LTSB 2016(对应Win10 1607)。这个版本有3年的跨度,在此期间linux ⼦系统...