From 5d47f01f94ef508033a41ebcfc3de989755fd3ca Mon Sep 17 00:00:00 2001 From: Max Christian Pohle Date: Sat, 23 Jun 2018 01:10:55 +0200 Subject: Improved UI consistency --- bashrc | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'bashrc') diff --git a/bashrc b/bashrc index d0ac36c..04f32fb 100644 --- a/bashrc +++ b/bashrc @@ -11,8 +11,14 @@ export MANPAGER='vim -c":set noswapfile|%!col -b" -c":file man|:setlocal filetype=man buftype=nowrite readonly nonumber nolist signcolumn=no" -' # man() { /bin/vim ":enew:0read !groffer --pager='cat' --tty $1 col -bx :set filetype=man buftype=nowrite readonlygg" -; } -alias git='git -c color.ui=false' -export GIT_PAGER='vim -c":set noswapfile filetype=git buftype=nowrite readonly nolist nonumber signcolumn=no|:file git" -' +# alias git='git -c color.ui=false' +# export GIT_DIFF_OPTS="--no-color" + + + +git config --global --replace-all color.pager 0 +git config --global --replace-all core.pager 'vim -c":set noswapfile filetype=git buftype=nowrite readonly nolist nonumber signcolumn=no|:file git" -' +# export GIT_PAGER='' # alias git="TERM=dumb git" -- cgit v1.2.3