mirror of
https://github.com/alvinlollo/Single-install-script.git
synced 2026-06-21 00:06:24 +10:00
Added more installs and prefered configuration for zsh
This commit is contained in:
+16
-2
@@ -4,7 +4,8 @@
|
|||||||
set -eux pipefail
|
set -eux pipefail
|
||||||
|
|
||||||
# Install prequisites
|
# Install prequisites
|
||||||
sudo apt-get update
|
sudo apt update
|
||||||
|
sudo apt upgrade
|
||||||
sudo apt install -y git-core zsh curl git build-essential
|
sudo apt install -y git-core zsh curl git build-essential
|
||||||
|
|
||||||
# Install docker
|
# Install docker
|
||||||
@@ -19,12 +20,19 @@ echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"' >> ~/.bashrc
|
|||||||
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
|
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
|
||||||
|
|
||||||
# Prequises from homebrew
|
# Prequises from homebrew
|
||||||
brew install eza fzf gcc
|
brew update
|
||||||
|
brew upgrade
|
||||||
|
brew install eza fzf gcc thefuck gh
|
||||||
|
|
||||||
# Install Oh-My-zsh
|
# Install Oh-My-zsh
|
||||||
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
|
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
|
||||||
|
|
||||||
|
# Remove old config file
|
||||||
|
rm -rf ~/.zshrc
|
||||||
|
|
||||||
|
# Replace config file
|
||||||
|
touch ~/.zshrc
|
||||||
|
echo "$(curl https://raw.githubusercontent.com/alvinlollo/Single-install-script/refs/heads/main/configs/.zshrc)" >> ~/.zshrc
|
||||||
|
|
||||||
# [zsh-history-substring-search](https://github.com/zsh-users/zsh-history-substring-search)
|
# [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
|
git clone https://github.com/zsh-users/zsh-history-substring-search ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-history-substring-search
|
||||||
@@ -46,3 +54,9 @@ source ~/.zshrc
|
|||||||
source ~/.zshrc
|
source ~/.zshrc
|
||||||
source ~/.zshrc
|
source ~/.zshrc
|
||||||
|
|
||||||
|
# Install code server
|
||||||
|
wget -O- https://vscodeserverlauncher.blob.core.windows.net/builds/setup-scripts/setup.sh | sh
|
||||||
|
|
||||||
|
# Install personal apt packages
|
||||||
|
|
||||||
|
sudo apt install -y git htop golang hugo figlet irssi cmatrix neofetch cowsay fortune-mod tint tty-clock lolcat hugo libsass1 dpkg npm python3 docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin flatpak gnome-software-plugin-flatpak libcurl4-gnutls-dev bsd-mailx needrestart powermgmt-base accountsservice lynx wget curl evince zsh net-tools --fix-missing
|
||||||
|
|||||||
Reference in New Issue
Block a user