介绍 国内源的oh-my-zsh库,对代码中的相关网址进行了替换(已在下面列出),以实现: 和原官方一样,使用命令在线安装(无需克隆到本地); 支持后期自动升级(对照本仓)。 基本上每个月还是会更新,代码仓库地址: https://gitee.com/pocmon/ohmyzsh 安装 1.首先确保zsh的安装 sudo apt install git
1.使用 curl 安装 sh -c"$(curl -fsSL https://gitee.com/pocmon/ohmyzsh/raw/master/tools/install.sh)" 2.使用 wget 安装 sh -c"$(wget -O- https://gitee.com/pocmon/ohmyzsh/raw/master/tools/install.sh)"
安装zsh apt install zsh 国内镜像安装oh-my-zsh 直接复制执行 sh -c "$(curl -fsSL https://gitee.com/mirrors/oh-my-zsh/raw/master/tools/install.sh \ | sed 's|^REPO=.*|REPO=${REPO:-mirrors/oh-my-zsh}|g' \ | sed 's|^REMOTE=.*|REMOTE=${REMOTE:-https://gitee.com/${REPO}.gi...
可以通过 curl 或 wget 两种方式来安装,用一条命令即可安装。 curl 安装 GitHub: sh -c "$(curl -fsSL https://raw./robbyrussell/oh-my-zsh/master/tools/)" 1. Gitee ( 国内镜像 ) 可用 sh -c "$(curl -fsSL https://gitee.com/mirrors/oh-my-zsh/raw/master/tools/)" 1. wget 安装 GitHub:...
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh-O-|sh chsh-s/usr/bin/zsh 以下是国内镜像,速度快 下载码云安装包 代码语言:javascript 代码运行次数:0 运行 AI代码解释 wget https://gitee.com/mirrors/oh-my-zsh/raw/master/tools/install.sh ...
zsh/oh-my-zsh国内安装和主题maran 国内按照oh-my-zsh总是失败,可以借鉴下其他博主的下面的方式安装。 我比较推荐的主题是maran vi ~/.zshrc ZSH_THEME="maran" 可以调成主题为random,多尝试几次,看看哪个更适合自己些。 每次source 主题就会随机变化。
国内源gitee安装ohmyzsh。 软件架构 用gitee托管更换github托管,支持国内网速。 原安装文件中的clone地址国内不友好。 (https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh) 安装教程 git clonegit@gitee.com/daotoyi/gitee-ohmyzsh.git ...
chsh -s /bin/zsh 如果想修改回默认dash,同样使用chsh命令即可: chsh -s /bin/bash 安装Oh my zsh 安装方法有两种,可以使用curl或wget,看自己环境或喜好: # curl 安装方式sh -c"$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" ...
REPO=${REPO:-mirrors/oh-my-zsh} REMOTE=${REMOTE:-https://gitee.com/${REPO}.git} 编辑后保存, 运行安装即可. (运行前先给install.sh权限) 修改仓库地址 cd ~/.oh-my-zsh git remote set-url origin https://gitee.com/mirrors/oh-my-zsh.git git pull 原文地址: https://touka.dev/tech/...
https://gitee.com/mirrors/oh-my-zsh 此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库:https://github.com/robbyrussell/oh-my-zsh 但是不需要克隆下来,只需要下面几步: 1. 下载install.sh文件 直接粘贴下来就行 https://gitee.com/mirrors/oh-my-zsh/blob/master/tools/install.sh ...