Changing command prompt colors + git pager.
This commit is contained in:
@@ -62,6 +62,9 @@ shopt -s checkwinsize
|
|||||||
#
|
#
|
||||||
# Terminal colors if interactive
|
# Terminal colors if interactive
|
||||||
#
|
#
|
||||||
|
# to see colors use
|
||||||
|
# for i in {0..255}; do echo $(tput setaf $i)$i; done
|
||||||
|
#
|
||||||
if [ -n "$PS1" ]; then
|
if [ -n "$PS1" ]; then
|
||||||
#
|
#
|
||||||
# If there is no terminal info in the system for current terminal but there is
|
# If there is no terminal info in the system for current terminal but there is
|
||||||
@@ -80,10 +83,10 @@ if [ -n "$PS1" ]; then
|
|||||||
c_green=$(tput setaf 2)
|
c_green=$(tput setaf 2)
|
||||||
c_orange=$(tput setaf 3)
|
c_orange=$(tput setaf 3)
|
||||||
c_blue=$(tput setaf 4)
|
c_blue=$(tput setaf 4)
|
||||||
c_pink=$(tput setaf 5)
|
c_pink=$(tput setaf 33)
|
||||||
c_cyan=$(tput setaf 6)
|
c_cyan=$(tput setaf 6)
|
||||||
c_white=$(tput setaf 7)
|
c_white=$(tput setaf 7)
|
||||||
c_viol=$(tput setaf 12)
|
c_viol=$(tput setaf 99)
|
||||||
# bold foreground
|
# bold foreground
|
||||||
#cbf_red=$(tput bold; tput setaf 1)
|
#cbf_red=$(tput bold; tput setaf 1)
|
||||||
#
|
#
|
||||||
@@ -217,6 +220,7 @@ fi
|
|||||||
# VIM
|
# VIM
|
||||||
#
|
#
|
||||||
export EDITOR=vim
|
export EDITOR=vim
|
||||||
|
export LESS=-R
|
||||||
|
|
||||||
#
|
#
|
||||||
# enable programmable completion features (you don't need to enable
|
# enable programmable completion features (you don't need to enable
|
||||||
|
|||||||
@@ -23,5 +23,8 @@
|
|||||||
path = ~/.gitconfig.local
|
path = ~/.gitconfig.local
|
||||||
[core]
|
[core]
|
||||||
excludesfile = ~/.gitignore.global
|
excludesfile = ~/.gitignore.global
|
||||||
|
pager = less -F -X
|
||||||
[credentail]
|
[credentail]
|
||||||
helper = cache
|
helper = cache
|
||||||
|
[pager]
|
||||||
|
branch = false
|
||||||
|
|||||||
Reference in New Issue
Block a user