Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: winfred-lu/rc
base: a3eb9c1ced
...
head fork: winfred-lu/rc
compare: aa7eba1605
Checking mergeability… Don't worry, you can still create the pull request.
  • 5 commits
  • 4 files changed
  • 0 commit comments
  • 1 contributor
Showing with 21 additions and 6 deletions.
  1. +3 −0  X/Xresources
  2. +2 −2 mlterm/main
  3. +1 −1  screenrc
  4. +15 −3 zshrc
View
3  X/Xresources
@@ -0,0 +1,3 @@
+UXTerm*eightBitInput: false
+XTerm*eightBitInput: false
+
View
4 mlterm/main
@@ -9,7 +9,7 @@ compose_dec_special_font=true
termtype=mlterm
icon_path=/usr/share/pixmaps/mlterm-icon-wmaker.png
conf_menu_path_2=mlterm-zoom
-use_anti_alias = false
+# use_anti_alias = true
# logsize=128
# fontsize=16
# tabsize=8
@@ -28,5 +28,5 @@ fg_color=lightgray
bg_color=black
# ENCODING=auto
# fontsize=16
-geometry=100x36
+geometry=80x30
word_separators=" `\"()'*<>[]{|}"
View
2  screenrc
@@ -77,7 +77,7 @@ hardstatus string "%h%? users: %u%?"
#hardstatus alwayslastline " %-Lw%{= Bw}%n%f %t%{-}%+Lw"
#caption always "%{= kw}%-w%{= BW}%n %t%{-}%+w %-= %c"
-caption always "%{= kw}%-w%{= BW}%n %t%{-}%+w"
+caption always "%{= kw}%-Lw%{= BW}%n %t%{-}%+Lw"
# set these terminals up to be 'optimal' instead of vt100
termcapinfo xterm*|linux*|rxvt*|Eterm* OP
View
18 zshrc
@@ -1,7 +1,12 @@
+# -*- mode: sh -*-
+
# The following lines were added by compinstall
zstyle ':completion:*' completer _complete _ignored
-zstyle ':completion:*' matcher-list '' '' '' 'l:|=* r:|=*'
+zstyle ':completion:*' expand prefix suffix
+zstyle ':completion:*' ignore-parents parent pwd .. directory
+zstyle ':completion:*' list-suffixes true
+zstyle ':completion:*' matcher-list '' 'm:{[:lower:]}={[:upper:]}' 'r:|[._-]=** r:|=**' 'l:|=* r:|=*'
zstyle :compinstall filename '/home/winfred/.zshrc'
autoload -Uz compinit
@@ -12,6 +17,7 @@ compinit
HISTFILE=~/.history
HISTSIZE=5000
SAVEHIST=10000
+export HISTIGNORE="&:ls:b:exit:clear:cd:cd .."
setopt INC_APPEND_HISTORY
setopt HIST_IGNORE_ALL_DUPS
setopt HIST_IGNORE_SPACE
@@ -24,6 +30,7 @@ bindkey '^R' history-incremental-search-backward
bindkey "\e[3~" delete-char
bindkey '\e[C' forward-char
bindkey '\e[D' backward-char
+bindkey '\e^?' backward-delete-word
bindkey -s '\eu' 'cd ..^M'
bindkey -s '\ep' 'dirs -v^M'
@@ -31,7 +38,8 @@ bindkey -s '\ep' 'dirs -v^M'
alias b="exit"
alias em="emacsclient -nw"
alias ls="ls -F --color=auto"
-alias gencs='find $PWD -type f -name "*.[chxsS]" > cscope.files; cscope -v -b -k; ctags -R -n -e; ctags -R -n'
+#alias gencs='find $PWD -type f -name "*.[chxsS]" >! cscope.files; cscope -v -b -k; ctags -R -n -e; ctags -R -n'
+alias gencs='find . -type f -name "*.[chxsS]" >! cscope.files; cscope -v -b -k; ctags -R -n -e'
# nocorrect
alias irssi="nocorrect irssi"
@@ -45,6 +53,7 @@ setopt CORRECTALL
setopt NO_FLOW_CONTROL
setopt NO_CLOBBER
setopt RM_STAR_WAIT
+set ignoreeof on
# env
export ALTERNATE_EDITOR="" # for emacsclient
@@ -59,7 +68,7 @@ export GREP_OPTIONS="-I --color=auto --exclude=tags --exclude=TAGS --exclude=csc
#export PATH="$PATH:/opt/arm-2011.03/bin"
export PATH="$PATH:$HOME/buildroot/output/host/usr/bin"
export PATH="$PATH:/sbin:/usr/sbin"
-export PATH="$PATH:$HOME/bin"
+export PATH="$PATH:$HOME/bin:./"
# prompt
PROMPT='%F{5}%m %F{6}%~ %(!.%F{1}.%f)%#%f '
@@ -77,3 +86,6 @@ vcs_info_wrapper() {
fi
}
RPROMPT=$'$(vcs_info_wrapper)'
+
+autoload run-help
+bindkey '\eh' run-help

No commit comments for this range

Something went wrong with that request. Please try again.