changeset 2:0b76aa764126

20090302
author kent <kent@cr.ie.u-ryukyu.ac.jp>
date Mon, 02 Mar 2009 17:22:09 +0900
parents c8c579f62d99
children 9e31f478c3eb ea2aed24ddd0
files Xdefaults xinitrc zshenv zshrc
diffstat 4 files changed, 25 insertions(+), 49 deletions(-) [+]
line wrap: on
line diff
--- a/Xdefaults	Sat Nov 15 00:57:04 2008 +0900
+++ b/Xdefaults	Mon Mar 02 17:22:09 2009 +0900
@@ -34,9 +34,9 @@
 
 
 !! RXVT
-!URxvt*font: xft:Kochi Gothic:antialias=true:size=14:spacing=20
-URxvt*font: xft:IPAGothic-14:antialias=true
-URxvt*lineSpace: 1
+URxvt*font: xft:Kochi Gothic:antialias=true:size=11:spacing=20, \
+	xft:Dejavu Sans Mono
+!URxvt*font: xft:IPAGothic-14:antialias=true
 URxvt*foreground: White
 URxvt*background: Black
 URxvt*termName: xterm
@@ -47,16 +47,10 @@
 URxvt*tintColor: Green
 !!! red green blue cyan yellow magenta
 URxvt*inheritPixmap: true
-URxvt*shading: 30
+URxvt*shading: 20
 
 URxvt.scrollstyle: next
 URxvt.scrollBar_right: true
 
 URxvt.geometry: 80x24
 
-
-!!! Kinput2
-Kinput2*ConversionStartKeys: \
-        Mod2<Key>space
-Kinput2*font xft:Kochi Gothic:antialias=true:size=14:spacing=20
-
--- a/xinitrc	Sat Nov 15 00:57:04 2008 +0900
+++ b/xinitrc	Mon Mar 02 17:22:09 2009 +0900
@@ -1,41 +1,19 @@
-#!/bin/bash --login
-# $Id: DoT-xinitrc,v 1.2 2008/11/12 17:04:04 kent Exp $
+#!/bin/sh
+# $Xorg: xinitrc.cpp,v 1.3 2000/08/17 19:54:30 cpqbld Exp $
 
-userresources=$HOME/.Xresources
-usermodmap=$HOME/.Xmodmap
-sysresources=/etc/X11/xinit/.Xresources
-sysmodmap=/etc/X11/xinit/.Xmodmap
 
-# merge in defaults and keymaps
-
-if [ -f "$sysresources" ]; then
-    xrdb -merge "$sysresources"
-fi
-
-if [ -f "$sysmodmap" ]; then
-    xmodmap "$sysmodmap"
-fi
+# japanese input method
+LANG="ja_JP.UTF-8" scim -d
+export XMODIFIERS="@im=SCIM"
+export GTK_IM_MODULE="scim"
 
-if [ -f "$userresources" ]; then
-    xrdb -merge "$userresources"
-fi
-
-if [ -f "$usermodmap" ]; then
-    xmodmap "$usermodmap"
-fi
-
-# environment variable initialize
+# terminals
+urxvt &
+urxvt &
 
-export LANG=ja_JP.UTF_8
-export XMODIFIERS="@im=kinput2"
-
-# start some nice programs
+# skippy
+skippy &
 
-/opt/local/bin/kinput2 -xim -canna&
-#xterm &
-#/opt/local/bin/urxvt &
+# window manager
+exec startfluxbox
 
-# start the window manager
-exec /usr/bin/quartz-wm
-#exec wmaker
-
--- a/zshenv	Sat Nov 15 00:57:04 2008 +0900
+++ b/zshenv	Mon Mar 02 17:22:09 2009 +0900
@@ -1,7 +1,6 @@
 # System-wide .login file for csh(1).
 
-export PATH="/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/X11R6/bin:/bin:/sbin:/usr/bin:/usr/sbin:$HOME/opt/bin"
-export PATH="$HOME/opt/bin:/usr/local/ptetex3/bin:$PATH"
+export PATH="$HOME/opt/bin:/usr/local/bin:/usr/X11R6/bin:/bin:/sbin:/usr/bin:/usr/sbin"
 export MANPATH=/usr/local/man:`manpath`
 #export DYLD_FALLBACK_LIBRARY_PATH="${HOME}/usr/lib"
 #export DYLD_FRAMEWORK_PATH="/Library/Frameworks:/System/Library/Frameworks"
--- a/zshrc	Sat Nov 15 00:57:04 2008 +0900
+++ b/zshrc	Mon Mar 02 17:22:09 2009 +0900
@@ -15,13 +15,16 @@
 #compinit
 # End of lines added by compinstall
 
-alias ls='gls -F --show-control-chars --color=auto'
+alias ls='ls -F --show-control-chars --color=auto'
 alias la='ls -a'
 alias ll='ls -l'
 alias b='popd'
 alias vi='vim'
 alias sless='less -x4 -S'
 
+alias PASTE='xsel -o'
+alias COPY='xsel -i'
+
 setopt prompt_subst
 PROMPT='%{%}<%{%}%{%}%n%{%}:%{%}%m%{%}%{%}>%{%} '
 #PROMPT='[%{%}%n%{%}%{%}@%{%}%{%}%m%{%}]%# '
@@ -42,11 +45,13 @@
 # ~-0 ~-1 ~-2 ... dirs -v の下から
 # pushdminus をセットすると+-が逆転するが,~0 ~1 ~2などは変わらない
 
-eval `gdircolors ~/.dir_colors`
+eval `dircolors ~/.dir_colors`
 zmodload zsh/complist
 export ZLS_COLORS="$LS_COLORS" 
 
 
+disable mkdir
+
 # zsh read followed files
 #  /etc/zshenv, $ZDOTDIR/.zshenv
 #  /etc/zprofile, $ZDOTDIR/.zprofile  IF (login shell)