Skip to content

Instantly share code, notes, and snippets.

@saderi
Last active June 29, 2020 10:35
Show Gist options
  • Save saderi/09efe6e3ecaa2bdfe1d47dcc5d0fce63 to your computer and use it in GitHub Desktop.
Save saderi/09efe6e3ecaa2bdfe1d47dcc5d0fce63 to your computer and use it in GitHub Desktop.
#!/bin/bash
# This script is meant for quick & easy install via:
# Tested in debian 9
# $ wget -q -O - "https://saderi.com/getready" | bash -
# Update , upgrade OS and install curl, vim and git
apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt install -y curl vim
# 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