Guide
install
1 2 3 4 5 6 7 8 9 10 11 12 13
| sudo apt-get -y install zsh
cat /etc/shells
/bin/sh /bin/dash /bin/bash /bin/rbash /usr/bin/tmux /bin/zsh /usr/bin/zsh
chsh -s /usr/bin/zsh
|
reboot system
1 2
| echo $SHELL /usr/bin/zsh
|
install 2(better)
1 2 3 4 5 6 7 8 9 10
| sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)" ```
```bash git clone https://github.com/fcamblor/oh-my-zsh-agnoster-fcamblor.git cd oh-my-zsh-agnoster-fcamblor ./install
|
.zshrc
1 2 3
| vim .zshrc
ZSH_THEME="agnoster"
|
use avit
.
.zshrc vs .bashrc
zsh uses env profile ~/.zshrc
, not ~/.bashrc
.
Reference
History