-
Notifications
You must be signed in to change notification settings - Fork 1
/
install
executable file
·43 lines (42 loc) · 1.42 KB
/
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
if [[ "$OSTYPE" == "linux-gnu" ]]; then
sudo apt install -y emacs-nox git curl
echo 'source ~/gch/linux_bash_profile' > ~/.bash_profile
echo 'source ~/gch/common_bash_profile'>> ~/.bash_profile
mkdir ~/.ssh
curl https://github.com/gherlein.keys > ~/.ssh/authorized_keys
cat ~/gch/ssh-config > ~/.ssh/config
cp screenrc ~/.screenrc
sudo apt install -y tput
sudo apt autoremove --purge snapd
sudo apt-mark hold snapd
sudo apt install gnome-software --no-install-recommends
sudo add-apt-repository ppa:mozillateam/ppa
elif [[ "$OSTYPE" == "linux-gnueabihf" ]]; then
sudo apt install -y emacs-nox git curl
echo 'source ~/gch/linux_bash_profile' > ~/.bash_profile
echo 'source ~/gch/common_bash_profile' >> ~/.bash_profile
mkdir ~/.ssh
curl https://github.com/gherlein.keys > ~/.ssh/authorized_keys
cat ~/gch/ssh-config > ~/.ssh/config
elif [[ "$OSTYPE" == "darwin"* ]]; then
echo 'source ~/gch/macos_bash_profile' > ~/.bash_profile
echo 'source ~/gch/common_bash_profile' >> ~/.bash_profile
mkdir ~/.ssh
curl https://github.com/gherlein.keys > ~/.ssh/authorized_keys
ssh-add -K ~/.ssh/id_rsa
cat ~/gch/ssh-config > ~/.ssh/config
elif [[ "$OSTYPE" == "cygwin" ]]; then
echo
elif [[ "$OSTYPE" == "msys" ]]; then
echo
elif [[ "$OSTYPE" == "win32" ]]; then
echo
elif [[ "$OSTYPE" == "freebsd"* ]]; then
echo
else
echo
fi
~/gch/tool-install
~/gch/set-git
mkdir ~/bin
cp lock unlock aws-whoami ~/bin