安装oh-my-zsh

mac2024-04-01  29

仅做记录

首先安装zsh和git

sudo apt-get install zsh, git

推荐使用curl方法安装oh-my-zsh

sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" # 多尝试几次

结果

warren@warren:~$ sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" Cloning Oh My Zsh... 正克隆到 '/home/warren/.oh-my-zsh'... remote: Enumerating objects: 1101, done. remote: Counting objects: 100% (1101/1101), done. remote: Compressing objects: 100% (1052/1052), done. remote: Total 1101 (delta 23), reused 885 (delta 19), pack-reused 0 接收对象中: 100% (1101/1101), 720.98 KiB | 58.00 KiB/s, 完成. 处理 delta 中: 100% (23/23), 完成. Looking for an existing zsh config... Using the Oh My Zsh template file and adding it to ~/.zshrc. Time to change your default shell to zsh: Do you want to change your default shell to zsh? [Y/n] Y Changing the shell... 密码: Shell successfully changed to '/usr/bin/zsh'. __ __ ____ / /_ ____ ___ __ __ ____ _____/ /_ / __ \/ __ \ / __ `__ \/ / / / /_ / / ___/ __ \ / /_/ / / / / / / / / / / /_/ / / /_(__ ) / / / \____/_/ /_/ /_/ /_/ /_/\__, / /___/____/_/ /_/ /____/ ....is now installed! Please look over the ~/.zshrc file to select plugins, themes, and options. p.s. Follow us on https://twitter.com/ohmyzsh p.p.s. Get stickers, shirts, and coffee mugs at https://shop.planetargon.com/collections/oh-my-zsh
最新回复(0)