Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
may have found a bug in version 2.5.03
- X-seq: zsh-users 216
- From: unpingco@xxxxxxxxxxxx (Jose Unpingco)
- To: zsh-users@xxxxxxxxxxxxxxx
- Subject: may have found a bug in version 2.5.03
- Date: Wed, 15 May 1996 08:10:10 -0700 (PDT)
Hi,
I've just discovered that in my .zshrc
...
bindkey -v
bindkey 'p' push-line-or-edit
bindkey 'a' accept-and-hold
...
upon startup will produce a bindkey for ^Xp that is self-insert instead
of push-line-or-edit.
However,
...
bindkey -v
bindkey 'p' push-line-or-edit
bindkey 'p' push-line-or-edit
bindkey 'a' accept-and-hold
...
upon startup will produce a bindkey for ^Xp that is push-line-or-edit.
I looked thru the man page and bugs list and can't figure out why
this is happening.
below is the full text of the .zshrc file
# customize zsh behaviour
#
setopt ALLEXPORT
setopt ALWAYSLASTPROMPT
setopt ALWAYSTOEND
setopt APPENDHISTORY
setopt AUTOCD
setopt AUTOLIST
setopt AUTOMENU
setopt AUTOMENU
setopt AUTOPARAMKEYS
setopt AUTOPUSHD
setopt AUTOREMOVESLASH
setopt COMPLETEINWORD
setopt CORRECTALL
setopt EXTENDEDGLOB
setopt HISTIGNOREDUPS
setopt HISTNOSTORE
setopt HISTIGNORESPACE
setopt IGNOREEOF
setopt LISTAMBIGUOUS
setopt LISTTYPES
setopt MARKDIRS
setopt MONITOR
setopt NOBEEP
setopt NOCLOBBER
setopt NOHUP
setopt NOLISTBEEP
setopt NUMERICGLOBSORT
setopt PUSHDMINUS
setopt PUSHDSILENT
setopt PUSHDTOHOME
##setopt RECEXACT
# customize completion
#
compctl -c which whereis findcmd
compctl -g '*.gz' + gunzip
compctl -u + finger elm
compctl -j -P "%" + kill fg
compctl -g '*(-/)' cd
compctl -g '*tex' latex
compctl -g '*fig' + xfig
#compctl -g '*dvi' -x 'C[-1,-o]' -g '*.dvi(:r)' -S ".ps" -- dvips xdvi
compctl -g '*dvi' -x 'C[-1,-o]' -K fill_ps -- dvips xdvi
compctl -g '*.ps' + gs ghostview
compctl -g '*.m' + -g '*tex' + -g '*(^/)' + vim
compctl -g '*(^/)' + less
compctl -g '*(^/)' + vi
compctl -g '*zip' + unzip
compctl -x 's[a]' -k '(ux|head)' -- ps
compctl -g '*sio' + siodx siod sioh ss
compctl -o setopt unsetopt
compctl -c man
compctl -v unset export
# bind some keystrokes. Makes it emacs compatible
#
bindkey -v
bindkey 'p' push-line-or-edit
bindkey 'p' push-line-or-edit
bindkey 'a' accept-and-hold
bindkey "'" quote-line
bindkey 's' spell-word
bindkey 'h' run-help
bindkey 'u' undo
bindkey 'b' history-beginning-search-backward
#
bindkey '' beginning-of-line-hist
bindkey '' end-of-line-hist
bindkey '' copy-prev-word
bindkey '' kill-line
bindkey '' vi-put-after
# setup aliases
#
alias a='alias'
a ls='ls -F'
a mv='nocorrect mv -i'
a cp='nocorrect cp -i'
a l='less -cMe'
a eg='egrep -i'
a j='jobs -l'
a ll='ls -l'
a d=' dirs -v'
a c='clear'
a h=' history -d -100'
a px='ps -x'
a m='more'
a pd='echo $display'
a rm='rm -i'
a ens='enscript -2r -h -G '
a pd='echo $DISPLAY'
a r='resize > /dev/null'
a v='vim'
a u=' cd ..'
a lc='wc -l'
a b=' cd -1'
a del='delete'
a lz='ls -l | sort -n -r +3 | head '
a touch='/usr/5bin/touch'
a p='/usr/5bin/pr -t -n'
a bg=' bg'
a fg=' fg'
# these alias come straight from tcsh environment
#
alias -- expunge='expunge -y'
alias -- gv='/usr/local/winpub/ghostview'
alias -- lsdel='lsdel -y'
alias -- rl='rlogin'
alias -- rcp='rcp -p'
alias -- zk='zip -kmq'
alias -- xfig='xfig -e ps'
alias -- uz='unzip -a'
alias -- ul='unzip -l'
alias -- trn='trn -x6ls -e +m -S -XX -h -N -g5'
# setup functions
#
# these functions come straight from tcsh environment
#
ff () { find . -name $* -print }
fn () { find "$1" -name "$2*" -print }
ftf () { ff $* | perl -ne 'chop ; print " $_\n " if -T' }
man2file () { man $* | col -b | cat > "$*".txt }
nr () { nroff -man $* | less }
lr () { ls -tl $* | head}
cf () { cf_arg=($*);source ~/bin/cf.zsh }
ss () { siodx -o -x 0 1 0 $* }
hh () { fc -lm "*$1*" -100}
stty susp "^Z"
rce () {
x=$1
shift
rcp $* junpingc@e6501-$x:/usr/tmp
}
fill_ps () {read -Ac reply; reply=($reply[2](:t:s/dvi/ps/)); }
#
# this handles screen setup
#
if [ $TERM = screen ]
then
export TERM=vt100
fi
Messages sorted by:
Reverse Date,
Date,
Thread,
Author