歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> 將oh-my-zsh變成真正的my zsh

將oh-my-zsh變成真正的my zsh

日期:2017/2/28 14:00:16   编辑:Linux教程

環境:

Ubuntu 32位

oh-my-zsh安裝:

1.安裝zsh: sudo apt-get install zsh

2.將當前用戶的shell環境修改為zsh: chsh -s /bin/zsh

若用chsh命令修改無效,則進入/etc/passwd中修改當前用戶的shell環境。

3.安裝oh-my-zsh【參考:https://github.com/robbyrussell/oh-my-zsh】

3.1安裝git: sudo apt-get install git

3.2安裝curl: sudo apt-get install curl

3.2安裝oh-my-zsh

自動安裝:

curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh

默認安裝路徑為:~/.oh-my-zsh

手動安裝:

git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh

cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc

4.重啟:sudo reboot

然後就可以看到oh-my-zsh生效。

Zsh安裝配置指南 http://www.linuxidc.com/Linux/2013-09/90377.htm

使用 Zsh 的九個理由 http://www.linuxidc.com/Linux/2013-05/84191.htm

Zsh使用心得三則 http://www.linuxidc.com/Linux/2012-08/67735.htm

Linux下安裝終極Shell Zsh http://www.linuxidc.com/Linux/2012-08/67734.htm

Copyright © Linux教程網 All Rights Reserved