post install for servers

apt install -y curl && \ curl -s "http://wiki.csgalileo.org/doku.php/tips:ubuntu:locale?do=export_code&codeblock=1" | /bin/bash
locale-gen it_IT.UTF-8 locale-gen en_US.UTF-8 update-locale LANG=it_IT.UTF-8 LC_MESSAGES=POSIX cat >> /etc/inputrc <<EOF "\M-s": menu-complete "\e[A": history-search-backward "\e[B": history-search-forward "\M-o": "\C-p\C-a\M-f " EOF cat > /etc/vim/vimrc.local <<EOF setlocal ts=4 sts=4 sw=4 expandtab autocmd FileType yaml setlocal ts=2 sts=2 sw=2 expandtab set paste set mouse=r set showcmd " Show (partial) command in status line. set showmatch " Show matching brackets. set ignorecase " Do case insensitive matching set smartcase " Do smart case matching set incsearch " Incremental search set autowrite " Automatically save before commands like :next and :make set hidden " Hide buffers when they are abandoned if has("syntax") syntax on endif set background=dark if has("autocmd") au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif endif if has("autocmd") filetype plugin indent on endif EOF update-alternatives --set editor /usr/bin/vim.tiny