Last active
June 29, 2020 10:35
-
-
Save saderi/09efe6e3ecaa2bdfe1d47dcc5d0fce63 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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