mirror of
https://github.com/alvinlollo/Single-install-script.git
synced 2026-06-15 03:04:26 +10:00
Added the acual script
This commit is contained in:
Executable
+48
@@ -0,0 +1,48 @@
|
||||
#!/usr/bin/bash
|
||||
|
||||
# Fail on any command.
|
||||
set -eux pipefail
|
||||
|
||||
# Install prequisites
|
||||
sudo apt-get update
|
||||
sudo apt install -y git-core zsh curl git build-essential
|
||||
|
||||
# Install docker
|
||||
curl -fsSL https://get.docker.com -o get-docker.sh
|
||||
sh get-docker.sh
|
||||
|
||||
# Install Homebrew
|
||||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||
|
||||
echo >> ~/.bashrc
|
||||
echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"' >> ~/.bashrc
|
||||
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
|
||||
|
||||
# Prequises from homebrew
|
||||
brew install eza fzf gcc
|
||||
|
||||
# Install Oh-My-zsh
|
||||
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
|
||||
|
||||
|
||||
|
||||
# [zsh-history-substring-search](https://github.com/zsh-users/zsh-history-substring-search)
|
||||
git clone https://github.com/zsh-users/zsh-history-substring-search ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-history-substring-search
|
||||
|
||||
# [zsh-autosuggestions](https://github.com/zsh-users/zsh-autosuggestions)
|
||||
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
|
||||
|
||||
# [zsh-eza](https://github.com/z-shell/zsh-eza)
|
||||
git clone https://github.com/z-shell/zsh-eza.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-eza
|
||||
|
||||
# [fzf-zsh-plugin](https://github.com/unixorn/fzf-zsh-plugin)
|
||||
git clone --depth 1 https://github.com/unixorn/fzf-zsh-plugin.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/fzf-zsh-plugin
|
||||
|
||||
# Setup fzf
|
||||
mkdir ~/.fzf
|
||||
mkdir ~/.fzf/shell
|
||||
touch ~/.fzf/shell/key-bindings.zsh
|
||||
source ~/.zshrc
|
||||
source ~/.zshrc
|
||||
source ~/.zshrc
|
||||
|
||||
Reference in New Issue
Block a user