Fish and Docker install scripts
This commit is contained in:
8
install/00-apt.sh
Normal file
8
install/00-apt.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
apt-get -y update
|
||||
DEBIAN_FRONTEND=noninteractive apt-get -y \
|
||||
-o Dpkg::Options::="--force-confdef" \
|
||||
-o Dpkg::Options::="--force-confold" upgrade
|
||||
apt-get -y autoremove
|
||||
apt-get -y autoclean
|
||||
@@ -1 +0,0 @@
|
||||
touch $state_dir
|
||||
@@ -1,7 +0,0 @@
|
||||
#!/bin/bash
|
||||
GREY='\033[0;37m'
|
||||
NC='\033[0m'
|
||||
echo "${GREY}andrejusk/dotfiles/apt${NC}"
|
||||
|
||||
sudo apt-get update
|
||||
sudo apt-get upgrade -y
|
||||
6
install/01-fish.sh
Normal file
6
install/01-fish.sh
Normal file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
apt-add-repository -y ppa:fish-shell/release-3
|
||||
apt update
|
||||
apt-get -y install fish
|
||||
chsh -s `which fish`
|
||||
@@ -1,16 +0,0 @@
|
||||
#!/bin/bash
|
||||
GREY='\033[0;37m'
|
||||
NC='\033[0m'
|
||||
echo "${GREY}andrejusk/dotfiles/fish${NC}"
|
||||
|
||||
|
||||
if grep -q SomeString "$File"; then
|
||||
|
||||
elif
|
||||
|
||||
fi
|
||||
|
||||
|
||||
sudo apt-add-repository ppa:fish-shell/release-3
|
||||
sudo apt-get update
|
||||
sudo apt-get install fish
|
||||
@@ -1 +0,0 @@
|
||||
#
|
||||
@@ -1,27 +1,23 @@
|
||||
#!/bin/bash
|
||||
GREY='\033[0;37m'
|
||||
NC='\033[0m'
|
||||
echo "${GREY}andrejusk/dotfiles/docker${NC}"
|
||||
|
||||
if grep -q SomeString "$File"; then
|
||||
|
||||
elif
|
||||
|
||||
fi
|
||||
|
||||
|
||||
|
||||
sudo apt-get install \
|
||||
apt-transport-https \
|
||||
ca-certificates \
|
||||
curl \
|
||||
gnupg-agent \
|
||||
software-properties-common
|
||||
apt-get -y install \
|
||||
apt-transport-https \
|
||||
ca-certificates \
|
||||
curl \
|
||||
gnupg-agent \
|
||||
software-properties-common
|
||||
|
||||
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
|
||||
sudo apt-key fingerprint 0EBFCD88
|
||||
|
||||
sudo add-apt-repository \
|
||||
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
|
||||
$(lsb_release -cs) \
|
||||
stable"
|
||||
apt-key fingerprint 0EBFCD88
|
||||
|
||||
add-apt-repository -y \
|
||||
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
|
||||
$(lsb_release -cs) \
|
||||
stable"
|
||||
apt update
|
||||
apt install -y docker-ce
|
||||
systemctl status docker
|
||||
|
||||
curl -L https://github.com/docker/compose/releases/download/1.21.2/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
|
||||
chmod +x /usr/local/bin/docker-compose
|
||||
docker-compose --version
|
||||
|
||||
@@ -1,38 +0,0 @@
|
||||
# # start
|
||||
# export DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
|
||||
# # set up
|
||||
# ln -s /mnt/c/git ~/git
|
||||
|
||||
|
||||
# # # # shell
|
||||
|
||||
# # apt
|
||||
# # brew
|
||||
# yes '' | sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"
|
||||
# echo 'eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)' >>~/.profile
|
||||
# eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
|
||||
# sudo apt-get install build-essential
|
||||
# brew install gcc
|
||||
|
||||
# # zsh
|
||||
# sudo apt install zsh -y
|
||||
# sudo apt-get install powerline fonts-powerline -y
|
||||
|
||||
# # oh my zsh
|
||||
# sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
|
||||
|
||||
# # highlighting
|
||||
# git clone https://github.com/zsh-users/zsh-syntax-highlighting.git "$HOME/.zsh-syntax-highlighting" --depth 1
|
||||
# echo "source $HOME/.zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> "$HOME/.zshrc"
|
||||
|
||||
# # spaceship
|
||||
# git clone https://github.com/denysdovhan/spaceship-prompt.git "$ZSH_CUSTOM/themes/spaceship-prompt"
|
||||
# ln -s "$ZSH_CUSTOM/themes/spaceship-prompt/spaceship.zsh-theme" "$ZSH_CUSTOM/themes/spaceship.zsh-theme"
|
||||
# sed -i 's/ZSH_THEME="robbyrussell"/ZSH_THEME="spaceship"/g' ~/.zshrc
|
||||
|
||||
|
||||
# # cleanup
|
||||
# sudo apt autoremove -y
|
||||
# export DEBIAN_FRONTEND=readline
|
||||
Reference in New Issue
Block a user