Changing command prompt colors + git pager.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -23,5 +23,8 @@
|
||||
path = ~/.gitconfig.local
|
||||
[core]
|
||||
excludesfile = ~/.gitignore.global
|
||||
pager = less -F -X
|
||||
[credentail]
|
||||
helper = cache
|
||||
[pager]
|
||||
branch = false
|
||||
|
||||
Reference in New Issue
Block a user