Linux-based ZSH installation scripts:
Ubuntu version:
1#!/bin/SH2 3 CD4 #安装zsh5sudo apt-GetInstall zsh6 #查看zsh7cat/etc/Shells8 #更改zsh9Chsh-s/bin/zshTen #自动安装: Onewget https://Github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh-o-| sh A #下载 -git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh -CP ~/.oh-my-zsh/templates/zshrc.zsh-template ~/. ZSHRC the #设置 -CD pi/pi_sh/ -Cat Zsh.txt >> ~/. ZSHRC - + #安装插件 -sudo apt-GetInstall Python + CD Agit clone git://Github.com/joelthelion/autojump.git at CD AutoJump -sudo./install.py
1Alias cls='Clear'2Alias Ll='ls-l'3Alias La='ls-a'4Alias vi='Vim'5Alias javac="Javac-j-dfile.encoding=utf8"6Alias grep="grep--color=auto"7Alias-s html=Mate # Enter a filename with the suffix HTML directly on the command line and open it in TextMate8Alias-s rb=Mate # Enter the Ruby file directly on the command line and open it in TextMate9Alias-s py=VI # Enter the python file directly on the command line, which will be opened in Vim, similar to the followingTenAlias-s js=VI OneAlias-s c=VI AAlias-s java=VI -Alias-s txt=VI -Alias-s gz='TAR-XZVF' theAlias-s tgz='TAR-XZVF' -Alias-s zip='Unzip' -Alias-s bz2='TAR-XJVF'
Raspberry Pi Route (034)-Linux-based zsh installation script