Organisation

This commit is contained in:
2020-02-20 23:09:56 +00:00
parent 49d3b0f064
commit 997af377de
10 changed files with 94 additions and 33 deletions

1
install/00-setup.sh Normal file
View File

@@ -0,0 +1 @@
touch $state_dir

7
install/01-apt.sh Normal file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
GREY='\033[0;37m'
NC='\033[0m'
echo "${GREY}andrejusk/dotfiles/apt${NC}"
sudo apt-get update
sudo apt-get upgrade -y

16
install/02-fish.sh Normal file
View File

@@ -0,0 +1,16 @@
#!/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
install/10-setup.sh Normal file
View File

@@ -0,0 +1 @@
#

27
install/11-docker.sh Normal file
View File

@@ -0,0 +1,27 @@
#!/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
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"

View File

@@ -1,3 +0,0 @@
#!/bin/bash
sudo apt-get update
sudo apt-get upgrade -y

View File

@@ -1,38 +1,38 @@
# start
export DEBIAN_FRONTEND=noninteractive
# # start
# export DEBIAN_FRONTEND=noninteractive
# set up
ln -s /mnt/c/git ~/git
# # set up
# ln -s /mnt/c/git ~/git
# # # shell
# # # # 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
# # 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
# # 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)"
# # 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"
# # 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
# # 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
# # cleanup
# sudo apt autoremove -y
# export DEBIAN_FRONTEND=readline