From 73cf6237f9598ac7d249f90f64b21cff9fd4f2a0 Mon Sep 17 00:00:00 2001 From: waldek Date: Tue, 23 Aug 2022 12:04:32 +0200 Subject: [PATCH] first version of my bootstrap script --- bootstrap.sh | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 bootstrap.sh diff --git a/bootstrap.sh b/bootstrap.sh new file mode 100644 index 0000000..bf5b6d2 --- /dev/null +++ b/bootstrap.sh @@ -0,0 +1,25 @@ +#!/bin/bash + +MY_SHELL="zsh" +MY_ZSH_THEME="robbyrussell" +MY_BASH_THEME="vscode" + +# install my bare essentials +sudo apt update +sudo apt install -y vim-nox htop tmux wget curl git zsh fish strace + +# install oh-my-zsh framework +git clone https://github.com/ohmyzsh/ohmyzsh.git ~/.oh-my-zsh +cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc +sudo chsh -s $(which $MY_SHELL) $USER + +# modify the theme of oh-my-zsh +sed -i "s/robbyrussell/$MY_ZSH_THEME/g" ~/.zshrc + +# install oh-my-bash framework +git clone https://github.com/ohmybash/oh-my-bash.git ~/.oh-my-bash +cp ~/.oh-my-bash/templates/bashrc.osh-template ~/.bashrc + +# modify the theme of oh-my-zsh +sed -i "s/font/$MY_BASH_THEME/g" ~/.bashrc +