-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathprimer.sh
executable file
·32 lines (30 loc) · 1.49 KB
/
primer.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
#!/usr/bin/env bash
source ~//dotfiles/.commands/text
echo $(text invert)
echo ' '
echo ' :<mac primer> '
echo ' '
echo $(text)
echo 'Requesting root access…'
sudo -v; while true; do sudo -n true; sleep 60; kill -0 \"$$\" || exit; done 2>/dev/null &
echo $(text invert)
echo ' '
echo ' :<install apps> '
echo ' '
echo $(text)
chmod +x ~//apps/install.sh
~//apps/install.sh
echo $(text invert)
echo ' '
echo ' :<install dotfiles> '
echo ' '
echo $(text)
chmod +x ~//dotfiles/install.sh
~//dotfiles/install.sh
echo $(text invert)
echo ' '
echo ' :<install preferences> '
echo ' '
echo $(text)
~//dock
~//preferences