Changing command prompt colors + git pager.

This commit is contained in:
Vahagn Khachatryan
2019-11-25 06:07:21 -05:00
parent 463c782e8e
commit 70dd0d162e
2 changed files with 9 additions and 2 deletions

View File

@@ -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

View File

@@ -23,5 +23,8 @@
path = ~/.gitconfig.local
[core]
excludesfile = ~/.gitignore.global
pager = less -F -X
[credentail]
helper = cache
[pager]
branch = false