Finally fixing prompt color and pipenv venv in prompt
This commit is contained in:
@@ -50,10 +50,15 @@ export HISTSIZE=1000
|
|||||||
export HISTFILESIZE=2000
|
export HISTFILESIZE=2000
|
||||||
|
|
||||||
# Prompt
|
# Prompt
|
||||||
if [ -z $TERM ]; then
|
if [ ! -z "$TERM" ]; then
|
||||||
export PS1="\[$(tput bold)\]\[$(tput setaf 2)\][\u@\h \W]\\$ \[$(tput sgr0)\]"
|
export PS1="\[$(tput bold)\]\[$(tput setaf 2)\][\u@\h \W]\\$ \[$(tput sgr0)\]"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ ! -z "$VIRTUAL_ENV" ]; then
|
||||||
|
#export PS1="[$(basename "$VIRTUAL_ENV")] \[\u@\h \W]\\$"
|
||||||
|
export PS1="[$(basename "$VIRTUAL_ENV")] $PS1"
|
||||||
|
fi
|
||||||
|
|
||||||
# fedoras stupid command-not-found shit
|
# fedoras stupid command-not-found shit
|
||||||
unset command_not_found_handle
|
unset command_not_found_handle
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,8 @@
|
|||||||
let g:netrw_dirhistmax =10
|
let g:netrw_dirhistmax =10
|
||||||
let g:netrw_dirhist_cnt =5
|
let g:netrw_dirhist_cnt =6
|
||||||
let g:netrw_dirhist_1='/home/jon'
|
let g:netrw_dirhist_1='/home/jon'
|
||||||
let g:netrw_dirhist_2='/home/jon/.gnome'
|
let g:netrw_dirhist_2='/home/jon/.gnome'
|
||||||
let g:netrw_dirhist_3='/home/jon'
|
let g:netrw_dirhist_3='/home/jon'
|
||||||
let g:netrw_dirhist_4='/home/jon/dwm-6.1/.git'
|
let g:netrw_dirhist_4='/home/jon/dwm-6.1/.git'
|
||||||
let g:netrw_dirhist_5='/etc/X11/xorg.conf.d'
|
let g:netrw_dirhist_5='/etc/X11/xorg.conf.d'
|
||||||
|
let g:netrw_dirhist_6='/home/jon/projects/contract_management/app'
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
URxvt*scrollBar: false
|
URxvt*scrollBar: false
|
||||||
URxvt.font: xft:Terminus:size=14:antialias=true
|
URxvt.font: xft:Terminus:size=14:antialias=true
|
||||||
!URxvt.boldFont: xft:Terminus:bold:size=14:antialias=true
|
!URxvt.boldFont: xft:Terminus:bold:size=14:antialias=true
|
||||||
URxvt*transparent: true
|
!URxvt*transparent: true
|
||||||
URxvt*shading: 10
|
!URxvt*shading: 10
|
||||||
|
|
||||||
URxvt*perl-ext-common: default,matcher
|
URxvt*perl-ext-common: default,matcher
|
||||||
URxvt*matcher.button: 1
|
URxvt*matcher.button: 1
|
||||||
|
|||||||
Reference in New Issue
Block a user