- Running the whole script won't work right away. Somtime it might complain about alreday existing folder
Last active
April 21, 2024 16:19
-
-
Save abhagsain/00d80a567ea84bfafe15e8c237663a58 to your computer and use it in GitHub Desktop.
Install OhMySh, PowerLeve10K, Autosuggestion and Syntax highlighting On Ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# set relative line number in vim | |
set number | |
set rnu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt install zsh -y | |
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" | |
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k | |
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ~/powerlevel10k; echo 'source ~/powerlevel10k/powerlevel10k.zsh-theme' >>~/.zshrc | |
set ZSH_THEME="powerlevel10k/powerlevel10k" in ~/.zshrc | |
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions | |
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting | |
# add this line in ~/.zshrc file | |
# plugins=(git zsh-autosuggestions zsh-syntax-highlighting) in the |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get update -y | |
sudo apt-get upgrade -y | |
sudo apt install docker.io -y | |
systemctl start docker | |
systemctl enable docker | |
docker --version | |
# Install docker compose | |
sudo curl -L https://github.com/docker/compose/releases/download/1.29.2/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose | |
sudo chmod +x /usr/local/bin/docker-compose | |
docker-compose --version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment