offline install oh-my-zsh

2019/10/23 linux

# 离线安装 oh-my-zsh

# 下载 deb oh-my-zsh

下载对应版本的 zsh-common zsh (opens new window)zsh-common_5.1.1-1ubuntu2.3_all.deb zsh_5.1.1-1ubuntu2.3_amd64.deb 拷贝

# 下载并拷贝到 ~/.oh-my-zsh
git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh

# 安装 zsh

dpkg -i zsh-common_5.1.1-1ubuntu2.3_all.deb zsh_5.1.1-1ubuntu2.3_amd64.deb
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc

# 启动 zsh

/bin/zsh

# vscode 默认终端

{
"terminal.integrated.shell.linux": "/bin/zsh",
}
上次更新: 12/29/2021, 2:12:03 AM