-
Notifications
You must be signed in to change notification settings - Fork 17
/
setup.sh
39 lines (30 loc) · 828 Bytes
/
setup.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
#!/bin/bash
#
# WSL Ubuntu Dotfiles
# Font: https://github.com/samuelramox/wsl-setup
# Main install script
source ./scripts/utils.sh
# Add your data
echo_info "Add your data:"
nano ./scripts/user.sh
source ./scripts/user.sh
# Install applications
bash ./scripts/apps.sh
# Install dotfiles
bash ./scripts/dotfiles.sh
# Node.js and npm settings
bash ./scripts/npm.sh
# Generate SSH key
if [[ $SSH_EMAIL ]]; then
bash ./scripts/ssh.sh
fi
# Create a directory for projects and development
echo_info "Creating Developer directory in Home directory..."
mkdir ${HOME}/Developer ${HOME}/Developer
# Cleanup cached downloads and remove the installation zip and folder
echo_info "Removing unnecessary files..."
sudo apt -y autoremove
rm -rf ../scripts.zip
rm -rf ${DOTFILES_DIRECTORY}
# Finish
echo_success "Reboot and enjoy!"