From c8eb10a6e5a9be31ac703cf9efce6f40817760da Mon Sep 17 00:00:00 2001 From: Julian Date: Tue, 24 Jan 2017 18:46:34 +0100 Subject: Added more scripts --- Scripts/setUpeveryThing | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 Scripts/setUpeveryThing (limited to 'Scripts/setUpeveryThing') diff --git a/Scripts/setUpeveryThing b/Scripts/setUpeveryThing new file mode 100644 index 0000000..ddf6c96 --- /dev/null +++ b/Scripts/setUpeveryThing @@ -0,0 +1,49 @@ +sudo apt -y update +sudo apt -y upgrade + +sudo apt -y install zsh +sudo apt -y install cowsay +sudo apt -y install fortune +sudo apt -y install htop +sudo apt -y install python +sudo apt -y install python-pip +sudo apt -y install python3 +sudo apt -y install python3-pip +sudo apt -y install git + +sudo apt -y install emacs-nox +sudo apt -y install vim +sudo apt -y install nano + +sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" + + +git clone --bare https://bitbucket.org/durdn/cfg.git $HOME/.cfg +function config { + /usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME $@ +} +mkdir -p .config-backup +config checkout +if [ $? = 0 ]; then + echo "Checked out config."; + else + echo "Backing up pre-existing dot files."; + config checkout 2>&1 | egrep "\s+\." | awk {'print $1'} | xargs -I{} mv {} .config-backup/{} +fi; +config checkout +config config status.showUntrackedFiles no + +sudo apt -y install terminator + +sudo apt -y install texlive + +sudo apt -y install texlive-lang-european + +sudo apt -y install conky +sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys BBEBDCB318AD50EC6865090613B00F1FD2C19886 +echo deb http://repository.spotify.com stable non-free | sudo tee /etc/apt/sources.list.d/spotify.list +sudo apt update + +sudo apt -y install spotify-client +sudo apt -y install virtualbox + -- cgit v1.2.3 From 26c112b5eeff3e1af3e4ab7cf3bbb6c85be7435d Mon Sep 17 00:00:00 2001 From: jbjjbjjbj Date: Tue, 24 Jan 2017 19:07:39 +0100 Subject: Update setUpeveryThing --- Scripts/setUpeveryThing | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'Scripts/setUpeveryThing') diff --git a/Scripts/setUpeveryThing b/Scripts/setUpeveryThing index ddf6c96..4498e77 100644 --- a/Scripts/setUpeveryThing +++ b/Scripts/setUpeveryThing @@ -10,6 +10,7 @@ sudo apt -y install python-pip sudo apt -y install python3 sudo apt -y install python3-pip sudo apt -y install git +sudo apt -y install playonlinux sudo apt -y install emacs-nox sudo apt -y install vim @@ -25,10 +26,8 @@ function config { mkdir -p .config-backup config checkout if [ $? = 0 ]; then - echo "Checked out config."; - else - echo "Backing up pre-existing dot files."; - config checkout 2>&1 | egrep "\s+\." | awk {'print $1'} | xargs -I{} mv {} .config-backup/{} + echo "Please fix git errors" + read -p "Press enter to continue" fi; config checkout config config status.showUntrackedFiles no -- cgit v1.2.3 From 417e09590070ee6dee9f932fcf7383d791b80db9 Mon Sep 17 00:00:00 2001 From: jbjjbjjbj Date: Tue, 24 Jan 2017 21:11:48 +0100 Subject: Update setUpeveryThing --- Scripts/setUpeveryThing | 3 --- 1 file changed, 3 deletions(-) (limited to 'Scripts/setUpeveryThing') diff --git a/Scripts/setUpeveryThing b/Scripts/setUpeveryThing index 4498e77..3ad9862 100644 --- a/Scripts/setUpeveryThing +++ b/Scripts/setUpeveryThing @@ -34,9 +34,6 @@ config config status.showUntrackedFiles no sudo apt -y install terminator -sudo apt -y install texlive - -sudo apt -y install texlive-lang-european sudo apt -y install conky sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys BBEBDCB318AD50EC6865090613B00F1FD2C19886 -- cgit v1.2.3 From 1c9ffe38ff9a1a3cfc843e873899a29ef92af07a Mon Sep 17 00:00:00 2001 From: jbjjbjjbj Date: Tue, 24 Jan 2017 21:18:54 +0100 Subject: Update setUpeveryThing --- Scripts/setUpeveryThing | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Scripts/setUpeveryThing') diff --git a/Scripts/setUpeveryThing b/Scripts/setUpeveryThing index 3ad9862..708ba8f 100644 --- a/Scripts/setUpeveryThing +++ b/Scripts/setUpeveryThing @@ -20,9 +20,7 @@ sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/mas git clone --bare https://bitbucket.org/durdn/cfg.git $HOME/.cfg -function config { - /usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME $@ -} +alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME' mkdir -p .config-backup config checkout if [ $? = 0 ]; then -- cgit v1.2.3 From 54339ae99f40c7754ae5a73d83738987a169fcab Mon Sep 17 00:00:00 2001 From: jbjjbjjbj Date: Tue, 24 Jan 2017 21:21:53 +0100 Subject: Update setUpeveryThing --- Scripts/setUpeveryThing | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'Scripts/setUpeveryThing') diff --git a/Scripts/setUpeveryThing b/Scripts/setUpeveryThing index 708ba8f..d490f04 100644 --- a/Scripts/setUpeveryThing +++ b/Scripts/setUpeveryThing @@ -23,10 +23,9 @@ git clone --bare https://bitbucket.org/durdn/cfg.git $HOME/.cfg alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME' mkdir -p .config-backup config checkout -if [ $? = 0 ]; then - echo "Please fix git errors" - read -p "Press enter to continue" -fi; +echo "Please fix git errors" +read -p "Press enter to continue" + config checkout config config status.showUntrackedFiles no -- cgit v1.2.3 From 670c7a3391c9cbce3371c9df6606b6fe57058135 Mon Sep 17 00:00:00 2001 From: jbjjbjjbj Date: Tue, 24 Jan 2017 21:44:38 +0100 Subject: Update setUpeveryThing --- Scripts/setUpeveryThing | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'Scripts/setUpeveryThing') diff --git a/Scripts/setUpeveryThing b/Scripts/setUpeveryThing index d490f04..73b87e5 100644 --- a/Scripts/setUpeveryThing +++ b/Scripts/setUpeveryThing @@ -19,15 +19,8 @@ sudo apt -y install nano sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" -git clone --bare https://bitbucket.org/durdn/cfg.git $HOME/.cfg -alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME' -mkdir -p .config-backup -config checkout -echo "Please fix git errors" -read -p "Press enter to continue" -config checkout -config config status.showUntrackedFiles no + sudo apt -y install terminator @@ -40,3 +33,9 @@ sudo apt update sudo apt -y install spotify-client sudo apt -y install virtualbox +sudo apt -y install texlive +sudo apt -y install texlive-lang-european +sudo apt -y install texmaker + + + -- cgit v1.2.3