-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathinstall
executable file
·47 lines (37 loc) · 907 Bytes
/
install
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
#!/usr/bin/env bash
PATH="$(pwd)/home/bin:$PATH"
disto=$(x-distro-name)
x-info "distro detected: $disto"
if [[ $disto != "elementary" && $disto != "fedora" ]]; then
x-error "distro unsupported"
exit 1
fi
x-cmd "mkdir -p $HOME/.backup/gsettings"
x-cmd "gsettings list-recursively | sort > $HOME/.backup/gsettings/$(date --iso-8601=ns).txt"
x-update
x-backup-file $HOME/.bash_profile
x-backup-file $HOME/.bashrc
x-install curl
x-install emacs
x-install fortune-mod
x-install gcc
x-install gnome-disk-utility
x-install gnome-system-monitor
x-install gnome-terminal
x-install make
x-install ncurses-term
x-install neofetch
x-install nodejs
x-install ranger
x-install rsync
x-install stow
x-install the_silver_searcher
x-install tmux
x-install tree
x-install vim
x-cmd "pip install hew-tag"
x-cmd "stow -v -t ~ home"
x-cmd "vim +PlugInstall +qall"
. bin/$disto
. bin/gnome-terminal
. bin/gnome