-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.sh
executable file
·49 lines (48 loc) · 1.33 KB
/
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
40
41
42
43
44
45
46
47
48
49
#!/usr/bin/env sh
#
# script used for setting up a fresh installation of Ubuntu with custom dotfiles
#
# Usage:
# ./setup.sh
# ./setup.sh <module> (e.g ./setup.sh vim)
#
if [ $# -eq 0 ]; then
echo 'updating apt packages...'
sudo apt update -y
. ~/.dotfiles/curl/setup.sh
. ~/.dotfiles/gpg/setup.sh
. ~/.dotfiles/git/setup.sh
. ~/.dotfiles/alacritty/setup.sh
. ~/.dotfiles/bash/setup.sh
. ~/.dotfiles/vim/setup.sh
. ~/.dotfiles/asdf/setup.sh
. ~/.dotfiles/ruby/setup.sh
. ~/.dotfiles/nodejs/setup.sh
. ~/.dotfiles/yarn/setup.sh
. ~/.dotfiles/python/setup.sh
. ~/.dotfiles/java/setup.sh
. ~/.dotfiles/tmux/setup.sh
. ~/.dotfiles/tmuxinator/setup.sh
. ~/.dotfiles/spotify/setup.sh
. ~/.dotfiles/vscode/setup.sh
. ~/.dotfiles/telegram/setup.sh
. ~/.dotfiles/insomnia/setup.sh
. ~/.dotfiles/typora/setup.sh
. ~/.dotfiles/jetbrains-mono/setup.sh
. ~/.dotfiles/dropbox/setup.sh
#. ~/.dotfiles/chrome/setup.sh
#. ~/.dotfiles/dracula/setup.sh
elif [ $1 = "wsl" ];then
. ~/.dotfiles/git/setup.sh
. ~/.dotfiles/bash/setup.sh
. ~/.dotfiles/asdf/setup.sh
. ~/.dotfiles/ruby/setup.sh
. ~/.dotfiles/nodejs/setup.sh
. ~/.dotfiles/yarn/setup.sh
. ~/.dotfiles/python/setup.sh
. ~/.dotfiles/java/setup.sh
. ~/.dotfiles/tmux/setup.sh
. ~/.dotfiles/tmuxinator/setup.sh
else
. ~/.dotfiles/$1/setup.sh
fi