- Install ubuntu from store and set it up Instruction
sudo apt-get update
sudo apt-get upgrade -y
sudo do-release-upgrade -d
- Setup Node and git in ubuntu Node Instruction
sudo apt-get install -y nodejsand for git :sudo apt install git - Install ZSH
sudo apt-get install zsh - Open your bash profile
nano ~/.bashrc - Add this to set it to use ZSH as default in
nano ~/.bashrc:
# SET ZSH as Default
if [ -t 1 ]; then
exec zsh
fi
-
install oh-my-zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" -
Install powerline fonts
sudo apt-get install fonts-powerline -
Install spaceship prompt
-
Install Syntax highlighting
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting -
activate in
nano ~/.zshrcplugins=( [plugins...] zsh-syntax-highlighting) -
Source ~/.zshrc to take changes into account:
source ~/.zshrc -
Install pure prompt [Optional]
sudo npm install --global pure-prompt --allow-root --unsafe-perm=true
- Change this in
nano ~/.zshrc
# .zshrc
autoload -U promptinit; promptinit
prompt pure
-
FOR PURE PROMPT
-
Set ZSH_THEME="" in your .zshrc to disable oh-my-zsh themes
-
source $ZSH/oh-my-zsh.sh -
Set
ZSH_DISABLE_COMPFIX=truein your zshrc file, before oh-my-zsh.sh is sourced