-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvirtualBoxSetup.sh
More file actions
61 lines (48 loc) · 1.46 KB
/
virtualBoxSetup.sh
File metadata and controls
61 lines (48 loc) · 1.46 KB
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
50
51
52
53
54
55
56
57
58
59
60
61
#!/bin/bash
# setup for an Debian/Ubuntu Based Distro
#
# You will need to chmod u+x virtualBoxSetup.sh in order to run it
echo "*****update & upgrade*****"
sudo apt-get update
sudo apt-get -y upgrade
echo "*****installing vim, emacs, terminator, curl, etc*****"
sudo apt-get install -y git
sudo apt-get install -y terminator
sudo apt-get install -y curl
sudo apt-get install -y emacs24-nox
sudo apt-get install -y build-essential
echo "*****Setting up my dotfiles*****"
echo "*****Gitting dotfiles*****"
cd $HOME
git clone https://github.com/frankd0331/dotfiles.git
echo "*****Setting up Terminator dotfiles*****"
cd .config
mkdir terminator
cd terminator
ln -sb ~/dotfiles/config.terminator config
echo "*****Make a home bin dir*****"
cd $HOME
mkdir bin
echo "*****ln .emacs*****"
ln -sb dotfiles/.emacs.d
echo "*****disabling <Ctrl-s> in terminal*****"
cd $HOME
echo "" >> .bashrc
echo "# disable <Ctrl-s> in terminal" >> .bashrc
echo "stty -ixon" >> .bashrc
echo "*****enabling 256 colors in terminal*****"
sudo apt-get install -y ncurses-term
echo "" >> .bashrc
echo "# enabling 256 colors in terminal" >> .bashrc
echo "export TERM=xterm-256color" >> .bashrc
echo "*****make the projects directory*****"
cd $HOME
mkdir projects
echo "*****add home bin to path*****"
echo "" >> .bashrc
echo "# I thought my home bin was already in path, but just in case" >> .bashrc
echo "export PATH=$PATH:/home/frankd/bin" >> .bashrc
echo "*****Reload bash*****"
cd $HOME
source .bashrc
# ToDo: