Just want to work that installs zsh and solve the gibberish problem of powerline theme.
Combine with:
https://github.com/robbyrussell/oh-my-zsh
https://github.com/jeremyFreeAgent/oh-my-zsh-powerline-theme
https://github.com/Lokaltog/powerline-fonts
https://powerline.readthedocs.org/en/latest/installation/linux.html#font-installation
sudo apt-get install zsh
curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh
Start / restart zsh (open a new terminal is easy enough…)
git clone https://github.com/jeremyFreeAgent/oh-my-zsh-powerline-theme
cd oh-my-zsh-powerline-theme
./install_in_omz.sh
vi ~/.zshrc
, and change ZSH_THEME
to 'powerline'
git clone https://github.com/shatle/fori_zsh
cd fori_zsh
bash ./pl_font_config.sh
Right click to your terminal, and change its font family setting which selects none of gibberish.
If you want to diff terminal from bash which is with zsh, you could add a self-defined keyboard shortcut. The shortcut command is gnome-terminal --working-directory=~ -x zsh --autocd
, then set the shortcut key, likes CTRL + ALT + Z
curl -O https://raw.githubusercontent.com/rupa/z/master/z.sh ._z.sh
type code in .zshrc
source ~/._z.sh
curl -O https://raw.githubusercontent.com/micha/resty/master/resty ._resty
add code in .zshrc
. ~/._resty