Prepaing insall scripts

Creating description and installation scripts
This commit is contained in:
Martin Blazik
2020-08-11 21:39:52 +02:00
commit fd7e36a457
8 changed files with 72 additions and 0 deletions

3
env Normal file
View File

@@ -0,0 +1,3 @@
export PAGER=less
export EDITOR=vim

2
packages.txt Normal file
View File

@@ -0,0 +1,2 @@
curl
mc less vim tcpdump hwinfo

11
scripts/docker-noroot.sh Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/bash
# https://docs.docker.com/engine/install/linux-postinstall/
set -x
sudo groupadd docker
sudo usermod -aG docker $USER
#newgrp docker
#docker run hello-world

12
scripts/git-config.sh Normal file
View File

@@ -0,0 +1,12 @@
#!/bin/bash
git config --global user.name "Martin Blazik"
git config --global user.email martin.blazik@gooddata.com
git config --global core.editor vim
git config --global alias.co checkout
git config --global alias.br branch
git config --global alias.ci commit
git config --global alias.st status

View File

@@ -0,0 +1,11 @@
# https://github.com/magicmonty/bash-git-prompt
git clone https://github.com/magicmonty/bash-git-prompt.git ~/.bash-git-prompt --depth=1
# ~/.bashrc
if [ -f "$HOME/.bash-git-prompt/gitprompt.sh" ]; then
GIT_PROMPT_ONLY_IN_REPO=1
source $HOME/.bash-git-prompt/gitprompt.sh
fi

11
scripts/gw-install.sh Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/bash
# https://github.com/To-da/gdub
set -x
cd $HOME/src/other
git clone https://github.com/dougborg/gdub.git
cd gdub
sudo ./install

10
scripts/spotify-install.sh Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
# https://www.spotify.com/cz/download/linux/
set -x
curl -sS https://download.spotify.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb http://repository.spotify.com stable non-free" | sudo tee /etc/apt/sources.list.d/spotify.list
sudo apt-get update && sudo apt-get install spotify-client

12
scripts/sublime-install.sh Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/bash
# https://www.sublimetext.com/docs/3/linux_repositories.html#apt
set -x
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
sudo apt-get install apt-transport-https
echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
sudo apt-get update
sudo apt-get install sublime-text