install oh-my-zsh error file name too long

# install oh-my-zsh error

# 问题:file name too long

# 先安装了zsh

yum install zsh

# 并切换了默认shell

chsh -s /bin/zsh

# zsh版本

zsh —version

# 应该是zsh的问题,当时不熟悉怎么配置

# 临时解决:返回bash再安装oh-my-zsh

bash

# 安装oh-my-zsh
# http://ohmyz.sh/
# https://github.com/robbyrussell/oh-my-zsh/

sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)

# oh-my-zsh主题,https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
# ZSH_THEME=“robbyrussell”
# ZSH_THEME=“kafeitu”

vi ~/.zshrc

# 手动更新

upgrade_oh_my_zsh

你可能感兴趣的:(centos)