-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinitial_script.sh
executable file
·65 lines (41 loc) · 1.39 KB
/
initial_script.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#!/usr/bin/bash
# Script will be used to install and configure my common linux add-ins
# In order to run the user will have to have sudo permissions
# Programs to install
sudo apt update
sudo apt upgrade -y
sudo apt install git zsh curl vim -y
cd ~/Documents
git clone https://www.github.com/drcrazykid/Scripts
$FOLDER=~/Documents/Scripts/
# zsh customization
bash $FOLDER/install_Ohmyzsh.sh
sudo echo '
if [ -d "$HOME/.bin" ] ; then
PATH="$HOME/.bin:$PATH"
fi' >> /etc/zsh/zprofile
git clone https://github.com/bhilburn/powerlevel9k.git ~/.oh-my-zsh/custom/themes/powerlevel9k
echo "# Added custom theme to ohmyzsh" >> ~/.zshrc
echo "ZSH_THEME=\"powerlevel9k/powerlevel9k\"" >> ~/.zshrc
#need to add zsh-autosuggestions and zsh-syntax-highlighting repos!!!!!
echo "plugins=(git zsh-autosuggestions zsh-syntax-highlighting)" >> ~/.zshrc
cp ./.zsh_aliases ~/.zsh_aliases
bash ./mod-vimrc.sh
if [ -d "$HOME/.bin" ]
then
echo "'.bin' already exists."
else
mkdir ~/.bin
fi
cp $FOLDER/weekly-update.py ~/.bin/weekly-update.py
cp $FOLDER/update-all ~/.bin/update-all
cd ~/Downloads
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb ~/Downloads/google.deb
# Run mod-vimrc.sh
bash ./mod-vimrc.sh
# Install terminator with configs
/usr/bin/python3 ./install_terminator_wConfigs.py
# install Ohmyzsh
bash ./install_Ohmyzsh.sh
# Install VS Code
bash ./install_code.sh