Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: kill-word removes whole line

* On Sat Dec 13, Bart Schaefer wrote:
> On Dec 13,  4:40pm, Jesper Holmberg wrote:
> } 
> } autoload -U select-word-style
> } select-word-style bash
> }
> } foo * bar bar bar
> } 
> } and press alt-d, all three "bar" are removed from the command-line.
> The first thing I'd suspect is that you have a zstyle that is using a
> more specific context than the ":zle:*" one set by select-word-style.
> What do you find if you give the command
> 	zstyle -L

I don't think I understand how I could see if this is the case, but below,
you'll find the output of zstyle -L.

BTW, I use the new completion system.


% zstyle -L     
zstyle ':zle:*' word-style standard
zstyle ':zle:*' word-chars ''
zstyle :insert-last-word match '*([[:digit:]]?|[[:alpha:]/\\])*'
zstyle ':completion:*' group-name ''
zstyle ':completion:*' group-order files directories
zstyle ':completion:*' list-colors 'no=00' 'fi=00' 'di=01;34' 'ln=04;36'
'pi=04;33' 'so=04;35' 'bd=40;33;04' 'cd=40;33;04' 'or=04;05;37;41'
'mi=04;05;37;41' 'ex=01;32' '*.cmd=01;32' '*.exe=01;32' '*.EXE=01;32'
'*.com=01;32' '*.COM=01;32' '*.btm=01;32' '*.bat=01;32' '*.BAT=01;32'
'*.sh=01;32' '*.csh=01;32' '*.tar=01;31' '*.tgz=01;31' '*.tbz=01;31'
'*.tbz2=01;31' '*.arj=01;31' '*.taz=01;31' '*.lzh=01;31' '*.zip=01;31'
'*.ZIP=01;31' '*.jar=01;31' '*.JAR=01;31' '*.z=01;31' '*.Z=01;31'
'*.gz=01;31' '*.bz2=01;31' '*.bz=01;31' '*.tz=01;31' '*.rpm=01;31'
'*.deb=01;31' '*.cpio=01;31' '*.gpg=01;31' '*.jpg=01;35' '*.JPG=01;35'
'*.gif=01;35' '*.GIF=01;35' '*.bmp=01;35' '*.BMP=01;35' '*.xbm=01;35'
'*.xpm=01;35' '*.png=01;35' '*.PNG=01;35' '*.tif=01;35' '*.jpeg=01;35'
'*.tiff=01;35' '*.mpg=01;35' '*.MPG=01;35' '*.mpeg=01;35' '*.avi=01;35'
'*.AVI=01;35' '*.mp3=01;35' '*.MP3=01;35' '*.ogg=01;35' '*.OGG=01;35'
'*.rm=01;35' '*.RM=01;35' '*.eps=01;35' '*.ps=01;35' '*.PS=01;35'
'*.pdf=01;35' '*.PDF=01;35' '*.tex=01;33' '*.doc=01;33' '*.DOC=01;33'
'*.sxw=01;33' '*.SXW=01;33' '*.txt=01;33' '*.TXT=01;33' '*.htm=01;33'
'*.HTM=01;33' '*.html=01;33' '*.HTML=01;33' '*.pt=01;33' '*.xml=01;33'
'*.XML=01;33' '*.rtf=01;33' '*.RTF=01;33' '*.c=01;36' '*.java=01;36'
'*.JAVA=01;36' '*.pl=01;36' '*.cc=01;36' '*.el=01;36' '*.py=01;36'
zstyle ':completion:*:*:kill:*' verbose yes
zstyle ':completion:*' verbose false
zstyle ':completion:*:descriptions' format 'Descriptions: %B%d%b'
zstyle ':completion:*:messages' format 'Matches: %d'
zstyle ':completion:*:warnings' format 'No matches for: %d'
zstyle ':completion:*' format 'Completing %d'
zstyle ':completion:*' preserve-prefix '//[^/]##/'
zstyle ':completion:*' squeeze-slashes true
zstyle ':completion:*' use-perl true
zstyle ':completion:*' use-cache true
zstyle :compinstall filename '~/.zshrc'
zstyle ':completion:*' completer _expand _complete _ignored
zstyle ':completion:case-sensitive:*' matcher-list ''
zstyle ':completion:*' matcher-list 'm:{a-zåäö}={A-ZÅÄÖ}'
zstyle ':completion:*:*:(^rm):*:*' ignored-patterns '*?.o' '*?~' '(|*/)CVS' '*?.class' '*?.pyc' '*?.elc'
zstyle ':completion:*:rm:*' ignore-line yes
zstyle ':completion:*:(cd|cp|mv):*' ignore-parents parent pwd
zstyle ':completion:*:*:kill:*' menu yes 'select=1'
zstyle ':completion:*' menu 'select=30'
zstyle ':completion:*:*:kill:*:processes' command 'ps x -o user,pid,s,stime,args'

Messages sorted by: Reverse Date, Date, Thread, Author