played with some colors because windows-bash

This commit is contained in:
2018-04-19 14:00:14 +02:00
parent 4a5d220f6f
commit 914c8a78a6
3 changed files with 5 additions and 3 deletions

View File

@ -73,7 +73,8 @@ else
# user
PS_COLOR="\[\033[33m\]"
fi
PS1="\t ${PS_COLOR}${debian_chroot:+($debian_chroot)}\u\[\033[0m\]@\h:\w\$ "
#PS1="\t ${PS_COLOR}${debian_chroot:+($debian_chroot)}\u\[\033[0m\]@\h:\w\$ "
export PS1="\t \[$(tput sgr0)\]\[\033[38;5;11m\]\u\[$(tput sgr0)\]\[\033[38;5;15m\]@\h:\[$(tput sgr0)\]\[\033[38;5;87m\]\w\[$(tput sgr0)\]\[\033[38;5;15m\]:\\$ \[$(tput sgr0)\]"
# if this is an xterm modify the title
case $TERM in

View File

@ -3,7 +3,7 @@
# jul.io
###############################################################
# I want 256 colors everywhere
# set -g default-terminal "screen-256-color"
set -g default-terminal "xterm-256color"
# C-b is not acceptable - VIM uses it
set-option -g prefix C-a

3
.vimrc
View File

@ -2,9 +2,10 @@
" File .vimrc
" jul.io
"------------------------------------------------------------------------------
set nocompatible " use vim defaults
"set nocompatible " use vim defaults
syntax on " use syntax highlighting
set background=dark " when using black background terminal
colorscheme ron " for bash in windows this fixes my colors in vim inside tmux
set number " line numbers
set relativenumber " relative line numbers! How cool is that?!