changeset 14:0c7dda2541f6

modify zshrc
author kent <kent@cr.ie.u-ryukyu.ac.jp>
date Wed, 03 Feb 2010 08:53:49 +0900
parents 1dec272d7d09
children 568683f2b3ce
files hgrc muttrc xinitrc zshrc
diffstat 4 files changed, 24 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/hgrc	Tue Dec 22 22:43:00 2009 +0900
+++ b/hgrc	Wed Feb 03 08:53:49 2010 +0900
@@ -1,4 +1,5 @@
 
 [ui]
 username = kent <kent@cr.ie.u-ryukyu.ac.jp>
-
+[extensions]
+hgext.graphlog = 
--- a/muttrc	Tue Dec 22 22:43:00 2009 +0900
+++ b/muttrc	Wed Feb 03 08:53:49 2010 +0900
@@ -56,6 +56,7 @@
 set news_server=news.ie.u-ryukyu.ac.jp
 set news_cache_dir=~/.mutt/news-cache
 set newsrc=~/.newsrc
+set nntp_newsrc=~/.newsrc
 ### for サイドバーpatch
 set sidebar_width=15
 #set sidebar_delim='│'
--- a/xinitrc	Tue Dec 22 22:43:00 2009 +0900
+++ b/xinitrc	Wed Feb 03 08:53:49 2010 +0900
@@ -38,16 +38,16 @@
 #/opt/local/bin/urxvt &
 
 # file manager's desktop initialize.
-pcmanfm -d &
+#pcmanfm -d &
 
 # desktop panel
-( sleep 10; pypanel &) &
+#( sleep 10; pypanel &) &
 
-syndaemon -tKd
+#syndaemon -tKd
 
 # start the window manager
 #exec /usr/bin/quartz-wm
 #exec wmaker
 #exec twm
-#exec startfluxbox
-exec openbox-session
+exec startfluxbox
+#exec openbox-session
--- a/zshrc	Tue Dec 22 22:43:00 2009 +0900
+++ b/zshrc	Wed Feb 03 08:53:49 2010 +0900
@@ -9,6 +9,11 @@
 SAVEHIST=1000
 setopt appendhistory autocd
 bindkey -e
+
+bindkey '^[^B' backward-word
+bindkey '^[^F' forward-word
+
+
 # End of lines configured by zsh-newuser-install
 # The following lines were added by compinstall
 
@@ -61,6 +66,17 @@
 
 zle_highlight=(special:underline,bold,bg=magenta,fg=black isearch:bold,bg=cyan,fg=black region:bold,bg=yellow,fg=black)
 
+
+# original functions
+funciton conf() {
+	if [ -f "$1" ]; then
+	    file=$1
+	else
+	    file=config.log
+	fi
+	head -7 $file | tail -1
+}
+
 #disable mkdir
 
 # zsh read followed files