Repository navigation
Expand file tree
/
Copy pathinstall-raspi.sh
More file actions
executable file
·85 lines (76 loc) · 3.2 KB
/
Copy pathinstall-raspi.sh
File metadata and controls
executable file
·85 lines (76 loc) · 3.2 KB
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
#!/usr/bin/env bash
sudo apt-get update -y
sudo apt-get upgrade -y
sudo apt-get install git -y
sudo apt install python3-pip -y
sudo pip3 install pylint
sudo apt install unzip
sudo apt install g++ -y
sudo apt install gcc -y
sudo apt install gdb -y
curl -fsSL https://deb.nodesource.com/setup_14.x | sudo -E bash -
sudo apt-get install -y nodejs
sudo apt install npm -y
sudo apt install wget
sudo apt install python3
sudo apt-get install iputils-ping -y
# Install ZSH
sudo apt-get install -y vim zsh nano
sudo chsh -s /bin/zsh $USER
git config --global user.name "nooobcoder"
git config --global user.email "suryashi2013@gmail.com"
# Making a project folder
mkdir project
# Install and configure Oh My ZSH (if it is not already installed)
if [ -d "/home/coder/.oh-my-zsh" ]
then
echo "oh-my-zsh is already installed"
else
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended
# Append zshrc stuff to end of file
touch ~/.zshrc # not sure if this will always exist at this point :/
cat .zshrc >> ~/.zshrc
fi
# copy dotfiles into ~
shopt -s dotglob # include . in *
shopt -s extglob
yes | cp -rf ~/dotfiles/!(.git|.zshrc|.|..|.local) ~
# Set VS Code preferences for the FIRST time
if [ -f "/home/coder/.local/share/code-server/User/settings.json" ]
then
echo "VS Code settings are already present."
else
cp -rf .local ~/.local
fi
# Install extensions
code-server --install-extension esbenp.prettier-vscode
code-server --install-extension aaron-bond.better-comments
code-server --install-extension ahmadawais.shades-of-purple
code-server --install-extension avraammavridis.vsc-react-documentation
code-server --install-extension bengreenier.vscode-node-readme
code-server --install-extension bierner.color-info
code-server --install-extension burkeholland.simple-react-snippets
code-server --install-extension christian-kohler.npm-intellisense
code-server --install-extension CoenraadS.bracket-pair-colorizer
code-server --install-extension dbaeumer.vscode-eslint
code-server --install-extension dsznajder.es7-react-js-snippets
code-server --install-extension Equinusocio.vsc-material-theme
code-server --install-extension evan-buss.font-switcher
code-server --install-extension GitHub.github-vscode-theme
code-server --install-extension k--kato.intellij-idea-keybindings
code-server --install-extension mikestead.dotenv
code-server --install-extension monokai.theme-monokai-pro-vscode
code-server --install-extension ms-python.python
code-server --install-extension ms-vscode.node-debug2
code-server --install-extension naumovs.color-highlight
code-server --install-extension oderwat.indent-rainbow
code-server --install-extension OfHumanBondage.react-proptypes-intellisense
code-server --install-extension PKief.material-icon-theme
code-server --install-extension ritwickdey.LiveServer
code-server --install-extension steoates.autoimport
code-server --install-extension tgreen7.vs-code-node-require
code-server --install-extension tinkertrain.theme-panda
code-server --install-extension wix.vscode-import-cost
code-server --install-extension ms-toolsai.jupyter
code-server --install-extension ms-vscode.cpptools
code-server --install-extension trinm1709.dracula-theme-from-intellij