Skip to content

Instantly share code, notes, and snippets.

@saderi
Last active August 10, 2023 18:16
Show Gist options
  • Save saderi/4a0af3e424d3429648553f319348ccb0 to your computer and use it in GitHub Desktop.
Save saderi/4a0af3e424d3429648553f319348ccb0 to your computer and use it in GitHub Desktop.
#!/bin/bash
# This script is meant for quick & easy install via:
# Tested on Debian 9, Debian 10, Ubuntu 18.04 / 20.04 / 22.04
#
# wget -q -O - "https://gist.github.com/saderi/4a0af3e424d3429648553f319348ccb0/raw" | bash -
# OR
# curl -fsSL https://gist.github.com/saderi/4a0af3e424d3429648553f319348ccb0/raw | bash -
# Update , upgrade OS and install vim, make and git
apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt install -y make vim git
# Install Docker
curl -fsSL https://get.docker.com | sh -
# Edit .bashrc enable color in bash
sed -i \
-e "s/# export LS_OPTIONS='--color=auto'/export LS_OPTIONS='--color=auto'/g" \
-e "s/# alias ls='ls \$LS_OPTIONS'/alias ls='ls \$LS_OPTIONS'/g" \
-e "s/# eval \"\`dircolors\`\"/eval \"\`dircolors\`\"/g" \
.bashrc
# Create custom .vimrc for disable VISUAL mod and enable syntax
echo "syntax on" > .vimrc \
&& echo "colorscheme desert" >> .vimrc \
&& echo "set mouse-=a" >> .vimrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment