From 432846035d8d0843e15f7a76aaf38b48a801f18a Mon Sep 17 00:00:00 2001 From: Geoffrey Frogeye Date: Mon, 14 Mar 2016 13:43:17 +0100 Subject: [PATCH 1/2] 256 makes some working --- vimrc | 1 + 1 file changed, 1 insertion(+) diff --git a/vimrc b/vimrc index d2055d9..4e52507 100644 --- a/vimrc +++ b/vimrc @@ -215,6 +215,7 @@ set updatetime=250 syntax enable set background=dark +set t_Co=256 colorscheme solarized From 1419bd32d3dfb6bcf7e1e9702fe1489bdd5923f8 Mon Sep 17 00:00:00 2001 From: Geoffrey Frogeye Date: Mon, 14 Mar 2016 13:49:51 +0100 Subject: [PATCH 2/2] Load scripts if exists --- bashrc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bashrc b/bashrc index 505719c..734b0b5 100644 --- a/bashrc +++ b/bashrc @@ -1,10 +1,12 @@ # Custom scripts + + #find ~/.scripts/ ~/.gscripts/ -type f -name "*.sh" | while read script; do #source "$script" #done -source ~/.scripts/index.sh -source ~/.gscripts/index.sh +[ -f ~/.scripts/index.sh ] && source ~/.scripts/index.sh +[ -f ~/.gscripts/index.sh ] && source ~/.gscripts/index.sh # Prompt if [[ $USER == 'root' ]]; then