在ubuntu中安装与配置zsh与oh-my-zsh

96
dingyiming
2015.10.16 14:56* 字数 133

在ubuntu中安装与配置zsh与oh-my-zsh

1. ubuntu中默认安装了哪些shell

$ cat /etc/shells # /etc/shells: valid login shells/bin/sh/bin/dash/bin/bash/bin/rbash
(有sh、dash、bash和rbash)

2.当前正在运行的是那个版本的shell

$ echo $SHELL/bin/bash

3.正式安装zsh、git和wget

  • 获取并自动按照oh-my-zsh:
    $ sudo apt-get install zsh git wget
    $ wget --no-check-certificate https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | sh
  • 替换bash为zsh:
    $ chsh -s /bin/zsh
  • 最后重启:
    $ sudo reboot
解决问题?
Web note ad 1