From c923311eeb0cc5c426b8001f905f146d8f373fdd Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 19 Aug 2012 20:11:31 +1200 Subject: Start doing terminals properly --- bash/bashrc | 14 -------------- install | 6 +++--- terminfo/p/putty | Bin 0 -> 2005 bytes terminfo/p/putty-256color | Bin 0 -> 2049 bytes terminfo/r/rxvt | Bin 0 -> 2078 bytes terminfo/r/rxvt-256color | Bin 0 -> 2278 bytes terminfo/r/rxvt-unicode-256color | Bin 0 -> 2226 bytes terminfo/s/screen | Bin 0 -> 1564 bytes terminfo/s/screen-256color | Bin 0 -> 1840 bytes terminfo/x/xterm | Bin 0 -> 3315 bytes terminfo/x/xterm-256color | Bin 0 -> 3373 bytes 11 files changed, 3 insertions(+), 17 deletions(-) create mode 100644 terminfo/p/putty create mode 100644 terminfo/p/putty-256color create mode 100644 terminfo/r/rxvt create mode 100644 terminfo/r/rxvt-256color create mode 100644 terminfo/r/rxvt-unicode-256color create mode 100644 terminfo/s/screen create mode 100644 terminfo/s/screen-256color create mode 100644 terminfo/x/xterm create mode 100644 terminfo/x/xterm-256color diff --git a/bash/bashrc b/bash/bashrc index 74a810f8..964d005b 100644 --- a/bash/bashrc +++ b/bash/bashrc @@ -88,20 +88,6 @@ for pathdir in $pathdirs; do fi done -# If we're using an xterm, force 256 colors. -case "$TERM" in - xterm*) TERM=xterm-256color;; -esac - -# If we're a screen terminal within a 256 color outer, force a 256 color -# screen terminal too. This deals with a tmux race condition bug. -case "$containing_term" in - *256color) - TERM=screen-256color - ;; -esac -unset containing_term - # Figure out how many colors we have now. hash tput && colors=$(tput colors) diff --git a/install b/install index 37e7060e..6b10545d 100755 --- a/install +++ b/install @@ -17,8 +17,8 @@ ln -fs ".dotfiles/vim/vimrc" "${HOME}/.vimrc" ln -fs ".dotfiles/vim/gvimrc" "${HOME}/.gvimrc" # Link in directories, removing whatever's already there first. -if [ -e "${HOME}/.vim" ]; then - rm -r "${HOME}/.vim" -fi +[[ -e "${HOME}/.vim" ]] && rm -r "${HOME}/.vim" ln -fs ".dotfiles/vim" "${HOME}/.vim" +[[ -e "${HOME}/.terminfo" ]] && rm -r "${HOME}/.terminfo" +ln -fs ".dotfiles/terminfo" "${HOME}/.terminfo" diff --git a/terminfo/p/putty b/terminfo/p/putty new file mode 100644 index 00000000..4d9fa6a2 Binary files /dev/null and b/terminfo/p/putty differ diff --git a/terminfo/p/putty-256color b/terminfo/p/putty-256color new file mode 100644 index 00000000..2bb95b22 Binary files /dev/null and b/terminfo/p/putty-256color differ diff --git a/terminfo/r/rxvt b/terminfo/r/rxvt new file mode 100644 index 00000000..12d9e9b4 Binary files /dev/null and b/terminfo/r/rxvt differ diff --git a/terminfo/r/rxvt-256color b/terminfo/r/rxvt-256color new file mode 100644 index 00000000..c50b2f86 Binary files /dev/null and b/terminfo/r/rxvt-256color differ diff --git a/terminfo/r/rxvt-unicode-256color b/terminfo/r/rxvt-unicode-256color new file mode 100644 index 00000000..a13b5d19 Binary files /dev/null and b/terminfo/r/rxvt-unicode-256color differ diff --git a/terminfo/s/screen b/terminfo/s/screen new file mode 100644 index 00000000..26717dcf Binary files /dev/null and b/terminfo/s/screen differ diff --git a/terminfo/s/screen-256color b/terminfo/s/screen-256color new file mode 100644 index 00000000..58bf2460 Binary files /dev/null and b/terminfo/s/screen-256color differ diff --git a/terminfo/x/xterm b/terminfo/x/xterm new file mode 100644 index 00000000..b4bc07e5 Binary files /dev/null and b/terminfo/x/xterm differ diff --git a/terminfo/x/xterm-256color b/terminfo/x/xterm-256color new file mode 100644 index 00000000..62ac5436 Binary files /dev/null and b/terminfo/x/xterm-256color differ -- cgit v1.2.3