-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.sh
More file actions
executable file
·31 lines (28 loc) · 772 Bytes
/
setup.sh
File metadata and controls
executable file
·31 lines (28 loc) · 772 Bytes
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
#!/bin/bash
# To run via wget:
# wget -qO- https://raw.githubusercontent.com/How-Bout-No/.dotfiles/main/setup.sh | bash
# To run via curl:
# curl -fsSL https://raw.githubusercontent.com/How-Bout-No/.dotfiles/main/setup.sh | bash
APT_PACKAGES=( # Default list of packages to install
"cargo"
"curl"
"git"
"lsd"
"make"
"micro"
"stow"
"wget"
"zsh"
)
CONFIG="$HOME/.config" # Default config directory
DOTFILES="$HOME/.dotfiles" # Directory to hold dotfiles
DOTREPO="https://github.com/How-Bout-No/.dotfiles.git" # Git repo to pull dotfiles from
sudo apt-get update
sudo apt-get full-upgrade -y
# Run all install scripts
for script in scripts/*.sh; do
echo "::Running $(basename $script)..."
chmod +x $script
. ./$script
chmod -x $script
done