From 70dd0d162e73a7f76a90d6c6261669a147f1ab1b Mon Sep 17 00:00:00 2001 From: Vahagn Khachatryan Date: Mon, 25 Nov 2019 06:07:21 -0500 Subject: [PATCH] Changing command prompt colors + git pager. --- config/.bashrc | 8 ++++++-- config/.gitconfig | 3 +++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/config/.bashrc b/config/.bashrc index e444b75..109e590 100755 --- a/config/.bashrc +++ b/config/.bashrc @@ -61,6 +61,9 @@ shopt -s checkwinsize # =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= # # Terminal colors if interactive +# +# to see colors use +# for i in {0..255}; do echo $(tput setaf $i)$i; done # if [ -n "$PS1" ]; then # @@ -80,10 +83,10 @@ if [ -n "$PS1" ]; then c_green=$(tput setaf 2) c_orange=$(tput setaf 3) c_blue=$(tput setaf 4) - c_pink=$(tput setaf 5) + c_pink=$(tput setaf 33) c_cyan=$(tput setaf 6) c_white=$(tput setaf 7) - c_viol=$(tput setaf 12) + c_viol=$(tput setaf 99) # bold foreground #cbf_red=$(tput bold; tput setaf 1) # @@ -217,6 +220,7 @@ fi # VIM # export EDITOR=vim +export LESS=-R # # enable programmable completion features (you don't need to enable diff --git a/config/.gitconfig b/config/.gitconfig index ebf136e..0f463b1 100644 --- a/config/.gitconfig +++ b/config/.gitconfig @@ -23,5 +23,8 @@ path = ~/.gitconfig.local [core] excludesfile = ~/.gitignore.global + pager = less -F -X [credentail] helper = cache +[pager] + branch = false