From 0bcfb83f3ef30d4ba25b9f01aefc4fbd0403430c Mon Sep 17 00:00:00 2001 From: Tianyu Liu Date: Fri, 16 Aug 2019 22:31:05 +0200 Subject: [PATCH] Add ZSH --- Ubuntu/install_steps.md | 28 +--------------------------- Ubuntu/package_install.sh | 6 ------ 2 files changed, 1 insertion(+), 33 deletions(-) diff --git a/Ubuntu/install_steps.md b/Ubuntu/install_steps.md index 4aef903..b6a7cd7 100644 --- a/Ubuntu/install_steps.md +++ b/Ubuntu/install_steps.md @@ -1,30 +1,4 @@ # 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 - -## 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 \ No newline at end of file diff --git a/Ubuntu/package_install.sh b/Ubuntu/package_install.sh index 759cece..506fd30 100755 --- a/Ubuntu/package_install.sh +++ b/Ubuntu/package_install.sh @@ -8,9 +8,3 @@ sudo apt install git # 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 \ No newline at end of file