Organisation
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
install/.state
|
||||
@@ -3,9 +3,8 @@
|
||||
|
||||
## Install
|
||||
```
|
||||
git clone https://github.com/andrejusk/dotfiles.git ~/git/dotfiles
|
||||
cd ~/git/dotfiles/install-scripts
|
||||
bash ./setup.sh
|
||||
git clone https://github.com/andrejusk/dotfiles.git ~/workspace/dotfiles
|
||||
sudo sh ~/workspace/dotfiles/setup.sh
|
||||
```
|
||||
|
||||
## About
|
||||
|
||||
1
install/00-setup.sh
Normal file
1
install/00-setup.sh
Normal file
@@ -0,0 +1 @@
|
||||
touch $state_dir
|
||||
7
install/01-apt.sh
Normal file
7
install/01-apt.sh
Normal 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
16
install/02-fish.sh
Normal 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
1
install/10-setup.sh
Normal file
@@ -0,0 +1 @@
|
||||
#
|
||||
27
install/11-docker.sh
Normal file
27
install/11-docker.sh
Normal 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"
|
||||
@@ -1,3 +0,0 @@
|
||||
#!/bin/bash
|
||||
sudo apt-get update
|
||||
sudo apt-get upgrade -y
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user