First Download the gist and then use the below commands
chmode u+x Configure_script.sh
sh Configure_script.shchmode u+x Configure_script.sh
./Configure_script.sh| #! /bin/bash | |
| # This will terminate the script if the script fails in | |
| # between somewhere | |
| set -e | |
| # This will install the ZSH in the system | |
| sudo apt install zsh | |
| # This will change the from BASH to ZSH | |
| chsh -s `which zsh` | |
| # Install brew Package manager | |
| /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
| echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"' >> /home/$(USER)/.zprofile | |
| echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"' >> /home/$(USER)/.zshrc | |
| eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" | |
| # Install Fuzzy finder for commands, to use this command just type ctrl+r. | |
| brew install fzf | |
| # Install ZSHautosuggestion | |
| brew install zsh-autosuggestions | |
| # add the source directory of zsh-autosuggestion to .zshrc | |
| echo '/home/linuxbrew/.linuxbrew/share/zsh-autosuggestions/zsh-autosuggestions.zsh' >> ~/.zshrc | |
| # Install Oh My ZSH | |
| sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" |