Xresources: minor fixes.

Shell: temp fix for FreeBSD with rxvt terminfo.
master
Ambrevar 2012-10-31 09:54:35 +01:00
parent a3c5fde4ef
commit aef7e8b6de
2 changed files with 11 additions and 16 deletions

View File

@ -1,6 +1,6 @@
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! Xresources
!! 2012-08-16
!! 2012-10-31
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! TODO: set up charclass.
@ -20,28 +20,22 @@
!! plugins.
! URxvt*modifier: alt
! URxvt.iso14755: False
URxvt*saveLines: 5000
URxvt*scrollBar: false
!! URL Support
URxvt.perl-ext: default,url-select
URxvt.keysym.C-M-u: perl:url-select:select_next
URxvt.perl-ext: url-select
URxvt.keysym.C-M-u: perl:url-select:select_next
URxvt.url-select.launcher: luakit
URxvt.url-select.underline: true
! URxvt.iso14755: False
URxvt.perl-ext-common: keyboard-select,clipboard
URxvt.keysym.C-M-v: perl:clipboard:paste
URxvt.keysym.C-M-c: perl:clipboard:paste_escaped
URxvt.perl-ext-common: keyboard-select,clipboard
URxvt.keysym.C-M-Escape: perl:keyboard-select:activate
URxvt.keysym.C-M-v: perl:clipboard:paste
URxvt.keysym.C-M-c: perl:clipboard:paste_escaped
URxvt.clipboard.pastecmd: xclip -o -selection clipboard -quiet -d locahost:0
! URxvt.clipboard.copycmd: xclip -i -selection clipboard
! URxvt.clipboard.pastecmd: xclip -o -selection clipboard
! URxvt.clipboard.pastecmd: xclip -o -quiet -d localhost:0
URxvt.clipboard.pastecmd: xclip -o -quiet
!! Keyboard-Select
URxvt.keysym.M-Escape: perl:keyboard-select:activate
! URxvt.keysym.M-s: perl:keyboard-select:search
!! Font
URxvt*font : xft:Dejavu Sans Mono:pixelsize=14

View File

@ -43,7 +43,8 @@ fi
## Terminal
## WARNING: this is always a bad idea!
if [[ "$TERM" = *rxvt* ]]; then
## TODO: check how to do this properly.
if [ ! "$OSTYPE" = "linux-gnu" ] && [[ "$TERM" = *rxvt* ]]; then
export TERM="rxvt-unicode-256color"
fi