From 516450030be9b7fc32ce9f8abeee5b177c3cc8cc Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Mon, 22 Apr 2013 13:35:55 +0000 Subject: Add configs for bash and vim --- bash_profile | 4 ++++ protostar | 4 +++- vimrc | 25 +++++++++++++++++++++++++ 3 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 bash_profile create mode 100644 vimrc diff --git a/bash_profile b/bash_profile new file mode 100644 index 0000000..4819f17 --- /dev/null +++ b/bash_profile @@ -0,0 +1,4 @@ +alias grep='/usr/bin/grep --color' +export PS1='\w:# ' +export HISTIGNORE="&" + diff --git a/protostar b/protostar index 6480fe4..2d20a59 100755 --- a/protostar +++ b/protostar @@ -60,7 +60,9 @@ fi mkdir "$ROOT/usr/install" cp -a install DysonInstaller $ROOT/usr/install/ -cp installer-screenrc $ROOT/etc/screenrc +cat installer-screenrc > $ROOT/etc/screenrc +cat bash_profile > $ROOT/root/.bash_profile +cat vimrc > $ROOT/root/.vimrc mv $ROOT/var/lib/dpkg $ROOT/usr/dpkg diff --git a/vimrc b/vimrc new file mode 100644 index 0000000..f7758c2 --- /dev/null +++ b/vimrc @@ -0,0 +1,25 @@ +set ai +set backspace=indent,eol,start +set encoding=utf-8 +set expandtab +set history=5000 +set hlsearch +set incsearch +set linebreak +set nocompatible +set number +set pastetoggle= +set showcmd +set sm +set sw=4 +set tabstop=4 +set wrap +syntax enable + +set laststatus=2 +set statusline=%F\ [%Y,\ %{&ff}]\ %=\ %l:%c\ (%p%%)\ \|\ %{strftime(\"%Y-%m-%d,\ %H:%M\")} +colorscheme desert + +imap :wa +map :w + -- cgit v1.2.3