Add ZSH
This commit is contained in:
@@ -1,30 +1,4 @@
|
|||||||
# Install steps for Ubuntu system
|
# Install steps for Ubuntu system
|
||||||
|
|
||||||
## Give sudo privilege to current user
|
# Give sudo privilege to current user
|
||||||
run `sudo visudo` and add user to sudo group
|
run `sudo visudo` and add user to sudo group
|
||||||
|
|
||||||
## Install software can be found in package manager
|
|
||||||
run `package_install.sh`
|
|
||||||
|
|
||||||
## Add Chinese language support
|
|
||||||
In settings - Region & Language - Manage Installed Languages add Chinese. Then in Input Sources add Chinese (Intelligent Pinyin)
|
|
||||||
|
|
||||||
## Install VSCode
|
|
||||||
Go to VSCode website and download the .deb file.
|
|
||||||
Then use `sudo dpkg -i` to install, then run `sudo apt -f install` to fix dependencies
|
|
||||||
Then install c/c++ and cmake extension in VSCode
|
|
||||||
|
|
||||||
## Install chrome
|
|
||||||
Download chrome .deb file and use dpkg to install.
|
|
||||||
|
|
||||||
## Install zsh and set Oh-My-ZSH
|
|
||||||
Change bash to zsh
|
|
||||||
Do `chsh -s /usr/bin/zsh $(whoami)`
|
|
||||||
Get Oh-My-zsh at
|
|
||||||
`wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh`
|
|
||||||
Then apply it
|
|
||||||
```
|
|
||||||
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
|
|
||||||
source ~/.zshrc
|
|
||||||
```
|
|
||||||
Then change theme to `risto` by changing the `~/.zshrc` file `ZSH_THEME` field
|
|
||||||
@@ -8,9 +8,3 @@ sudo apt install git
|
|||||||
|
|
||||||
# Install gcc & g++ & cmake
|
# Install gcc & g++ & cmake
|
||||||
sudo apt install gcc g++ cmake
|
sudo apt install gcc g++ cmake
|
||||||
|
|
||||||
# Install python3 pip and ipython
|
|
||||||
sudo apt install python3 ipython3 python3-pip
|
|
||||||
|
|
||||||
# Install zsh
|
|
||||||
sudo apt install zsh
|
|
||||||
Reference in New Issue
Block a user