Last active
November 11, 2020 19:13
-
-
Save eloyesp/8cece042a3a489994f3961c531b3ec51 to your computer and use it in GitHub Desktop.
Small fixes for VPS
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 | |
# Basic setup to make life easier when using the shell on a VPS | |
# set -x | |
set -e | |
if [ ! -f ~/.vim/colors/solarized.vim ] | |
then | |
wget -P ~/.vim/colors https://raw.githubusercontent.com/altercation/solarized/master/vim-colors-solarized/colors/solarized.vim | |
fi | |
if [ ! -f ~/.vimrc ] | |
then | |
cat <<-VIMRC > ~/.vimrc | |
syntax enable | |
set background=dark | |
colorscheme solarized | |
VIMRC | |
fi | |
if [ ! -f ~/.inputrc ] | |
then | |
cat <<-INPUTRC > ~/.inputrc | |
\$include /etc/inputrc | |
# Fix del key when using st | |
set enable-keypad on | |
INPUTRC | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment