1
0
Fork 0

get rid of $TERM re-exporting + add support for non-256color vim, long overdue

This commit is contained in:
Von Random 2014-10-14 19:16:56 +04:00
parent 08600a8cac
commit d5ecb4a96d
5 changed files with 8 additions and 12 deletions

1
bashrc
View file

@ -16,7 +16,6 @@ COMP_ENABLE=true
# Other useful vars # Other useful vars
#export LC_CTYPE= <- for system messages locale #export LC_CTYPE= <- for system messages locale
[[ $TERM == screen || $TERM == xterm ]] && export TERM=$TERM-256color
export LC_ALL='en_GB.UTF-8' export LC_ALL='en_GB.UTF-8'
export LANG=$LC_ALL export LANG=$LC_ALL
export PAGER='less -R' export PAGER='less -R'

View file

@ -1,5 +1,4 @@
# This tmux statusbar config was created by tmuxline.vim # tmux.conf
# on Mon, 13 Oct 2014
bind r source-file /home/von/.tmux.conf\; display-message "Config reloaded." bind r source-file /home/von/.tmux.conf\; display-message "Config reloaded."
bind h select-pane -L bind h select-pane -L
bind j select-pane -D bind j select-pane -D
@ -17,13 +16,13 @@ bind -n M-q select-window -p
bind -n S-Pageup copy-mode -u bind -n S-Pageup copy-mode -u
set -g base-index 1 set -g base-index 1
set -g history-limit 10000 set -g history-limit 10000
set -g set-titles on set -g set-titles off
set -g set-titles-string "#T" set -g set-titles-string "#T"
set -g status-left-length 20 set -g status-left-length 20
set -g status-right-length 40 set -g status-right-length 40
set -g monitor-activity on set -g monitor-activity on
set -g set-titles off set -g terminal-overrides "rxvt-unicode*:sitm@,ritm@"
set -g terminal-overrides 'rxvt-unicode*:sitm@,ritm@' set -g default-terminal "screen-256color"
set -g status-bg "colour0" set -g status-bg "colour0"
set -g message-command-fg "colour7" set -g message-command-fg "colour7"

4
vimrc
View file

@ -83,7 +83,9 @@ if v:version >= 703
call vundle#end() call vundle#end()
" airline options " airline options
let g:airline_powerline_fonts = 1 if &t_Co > 88 || has("gui_running")
let g:airline_powerline_fonts = 1
endif
let g:airline_symbols = {} let g:airline_symbols = {}
let g:airline_symbols.whitespace = '!' let g:airline_symbols.whitespace = '!'

View file

@ -17,6 +17,7 @@ URxvt.iso14755: false
URxvt.visualBell: true URxvt.visualBell: true
URxvt.urgentOnBell: true URxvt.urgentOnBell: true
URxvt.cursorUnderline: true URxvt.cursorUnderline: true
URxvt.termName: rxvt-unicode-256color
! icon (needs pixbuf support compiled) ! icon (needs pixbuf support compiled)
URxvt.iconFile: /usr/share/icons/Faenza/apps/scalable/utilities-terminal.svg URxvt.iconFile: /usr/share/icons/Faenza/apps/scalable/utilities-terminal.svg

5
zshrc
View file

@ -37,11 +37,6 @@ export LANG="$LC_ALL"
export PAGER='less' export PAGER='less'
export EDITOR='vim' export EDITOR='vim'
# ---> colors
if [[ $OSTYPE == linux-gnu ]] && [[ $TERM == screen || $TERM == xterm || $TERM == rxvt-unicode ]]; then
export TERM="$TERM-256color"
fi
# ---> prompt # ---> prompt
PROMPT="%B%(!..%(1000#..%F{red}%n%f@))%F{blue}%m%f %F{white}%~%f %(1j.+%F{red}%j%f.)%(!.%F{red}.%F{green})%#%f%b " PROMPT="%B%(!..%(1000#..%F{red}%n%f@))%F{blue}%m%f %F{white}%~%f %(1j.+%F{red}%j%f.)%(!.%F{red}.%F{green})%#%f%b "