Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
zsh 2.5.03 question/problem
- X-seq: zsh-workers 784
- From: Drew Justin Asson <asson@xxxxxxxxx>
- To: zsh-list@xxxxxxxxxxxx
- Subject: zsh 2.5.03 question/problem
- Date: Mon, 26 Feb 96 09:34:27 EST
- Reply-to: asson@xxxxxxxxx
Hi,
I just started using zsh 2.5.03. I was using 2.3.1. One thing that
has changed that I can't seem to find any documenation about is the
expansion of parameters on the command line. Under 2.3.1, if I had
done this in my .zshrc:
export props='/usr/local/lib/proposals/'
and then on the command line:
> cd $pr<TAB>
I would get:
cd $props/
Note that it would put the slash in and no spaces after the slash.
Under 2.5.03, with the same .zshrc line, and doing:
> cd $pr<TAB>
I now get:
cd $props<space>
The thing that bothers me is that I often use these variables as
pointers to top level directories and then naviagate from there. Some
of the names can be long, and thus I often try to do completion on
them. However, with the space, I have to backspace, insert a slash,
and then continue.
Is this something that has changed from 2.3.1 to 2.5.03? Is this a
bug? If not, is there some option (I've looked at many of them, as
well as having someone else (a more experienced zsh user) look and I
can't seem to find anything.)?
Any information would be appreciated. I've enclosed the report from the
'reporter' script at the end of this message.
Thanks.
Drew
# START zsh saveset
# uname: SunOS chacmool. 4.1.3 1 sun4c
# Aliases.
alias run-help='man'
alias which-command='whence'
# Key bindings.
bindkey -r "^@"
bindkey -r "^A"
bindkey -r "^B"
bindkey -r "^C"
bindkey -r "^D"
bindkey -r "^E"
bindkey -r "^F"
bindkey -r "^G"
bindkey -r "^H"
bindkey -r "^I"
bindkey -r "^J"
bindkey -r "^K"
bindkey -r "^L"
bindkey -r "^M"
bindkey -r "^N"
bindkey -r "^O"
bindkey -r "^P"
bindkey -r "^Q"
bindkey -r "^R"
bindkey -r "^S"
bindkey -r "^T"
bindkey -r "^U"
bindkey -r "^V"
bindkey -r "^W"
bindkey -r "^X"
bindkey -r "^Y"
bindkey -r "^Z"
bindkey -r "\e"
bindkey -r "^_"
bindkey -r "^?"
bindkey -r "^X^B"
bindkey -r "^X^F"
bindkey -r "^X^J"
bindkey -r "^X^K"
bindkey -r "^X^N"
bindkey -r "^X^O"
bindkey -r "^X^U"
bindkey -r "^X^V"
bindkey -r "^X^X"
bindkey -r "^X*"
bindkey -r "^XG"
bindkey -r "^Xg"
bindkey -r "^Xr"
bindkey -r "^Xs"
bindkey -r "^Xu"
bindkey -r "\e^D"
bindkey -r "\e^G"
bindkey -r "\e^H"
bindkey -r "\e^I"
bindkey -r "\e^J"
bindkey -r "\e^L"
bindkey -r "\e^M"
bindkey -r "\e^_"
bindkey -r "\e "
bindkey -r "\e!"
bindkey -r "\e\""
bindkey -r "\e$"
bindkey -r "\e'"
bindkey -r "\e-"
bindkey -r "\e."
bindkey -r "\e0"
bindkey -r "\e1"
bindkey -r "\e2"
bindkey -r "\e3"
bindkey -r "\e4"
bindkey -r "\e5"
bindkey -r "\e6"
bindkey -r "\e7"
bindkey -r "\e8"
bindkey -r "\e9"
bindkey -r "\e<"
bindkey -r "\e>"
bindkey -r "\e?"
bindkey -r "\eA"
bindkey -r "\eB"
bindkey -r "\eC"
bindkey -r "\eD"
bindkey -r "\eF"
bindkey -r "\eG"
bindkey -r "\eH"
bindkey -r "\eL"
bindkey -r "\eN"
bindkey -r "\eP"
bindkey -r "\eQ"
bindkey -r "\eR"
bindkey -r "\eS"
bindkey -r "\eT"
bindkey -r "\eU"
bindkey -r "\eW"
bindkey -r "\e[A"
bindkey -r "\e[B"
bindkey -r "\e[C"
bindkey -r "\e[D"
bindkey -r "\e_"
bindkey -r "\ea"
bindkey -r "\eb"
bindkey -r "\ec"
bindkey -r "\ed"
bindkey -r "\ef"
bindkey -r "\eg"
bindkey -r "\eh"
bindkey -r "\el"
bindkey -r "\en"
bindkey -r "\ep"
bindkey -r "\eq"
bindkey -r "\er"
bindkey -r "\es"
bindkey -r "\et"
bindkey -r "\eu"
bindkey -r "\ew"
bindkey -r "\ex"
bindkey -r "\ey"
bindkey -r "\ez"
bindkey -r "\e|"
bindkey -r "\e^?"
bindkey "^@" set-mark-command
bindkey "^A" beginning-of-line
bindkey "^B" backward-char
bindkey "^C" undefined-key
bindkey "^D" delete-char-or-list
bindkey "^E" end-of-line
bindkey "^F" forward-char
bindkey "^G" send-break
bindkey "^H" backward-delete-char
bindkey "^I" expand-or-complete
bindkey "^J" accept-line
bindkey "^K" kill-line
bindkey "^L" clear-screen
bindkey "^M" accept-line
bindkey "^N" down-line-or-history
bindkey "^O" accept-line-and-down-history
bindkey "^P" up-line-or-history
bindkey "^Q" push-line
bindkey "^R" history-incremental-search-backward
bindkey "^S" history-incremental-search-forward
bindkey "^T" transpose-chars
bindkey "^U" kill-whole-line
bindkey "^V" quoted-insert
bindkey "^W" backward-kill-word
bindkey "^X" prefix
bindkey "^Y" yank
bindkey "^Z" undefined-key
bindkey "\e" prefix
bindkey "^_" undo
bindkey "^?" backward-delete-char
bindkey "^X^B" vi-match-bracket
bindkey "^X^F" vi-find-next-char
bindkey "^X^J" vi-join
bindkey "^X^K" kill-buffer
bindkey "^X^N" infer-next-history
bindkey "^X^O" overwrite-mode
bindkey "^X^U" undo
bindkey "^X^V" vi-cmd-mode
bindkey "^X^X" exchange-point-and-mark
bindkey "^X*" expand-word
bindkey "^XG" list-expand
bindkey "^Xg" list-expand
bindkey "^Xr" history-incremental-search-backward
bindkey "^Xs" history-incremental-search-forward
bindkey "^Xu" undo
bindkey "\e^D" list-choices
bindkey "\e^G" send-break
bindkey "\e^H" backward-kill-word
bindkey "\e^I" self-insert-unmeta
bindkey "\e^J" self-insert-unmeta
bindkey "\e^L" clear-screen
bindkey "\e^M" self-insert-unmeta
bindkey "\e^_" copy-prev-word
bindkey "\e " expand-history
bindkey "\e!" expand-history
bindkey "\e\"" quote-region
bindkey "\e$" spell-word
bindkey "\e'" quote-line
bindkey "\e-" neg-argument
bindkey "\e." insert-last-word
bindkey "\e0" digit-argument
bindkey "\e1" digit-argument
bindkey "\e2" digit-argument
bindkey "\e3" digit-argument
bindkey "\e4" digit-argument
bindkey "\e5" digit-argument
bindkey "\e6" digit-argument
bindkey "\e7" digit-argument
bindkey "\e8" digit-argument
bindkey "\e9" digit-argument
bindkey "\e<" beginning-of-buffer-or-history
bindkey "\e>" end-of-buffer-or-history
bindkey "\e?" which-command
bindkey "\eA" accept-and-hold
bindkey "\eB" backward-word
bindkey "\eC" capitalize-word
bindkey "\eD" kill-word
bindkey "\eF" forward-word
bindkey "\eG" get-line
bindkey "\eH" run-help
bindkey "\eL" down-case-word
bindkey "\eN" history-search-forward
bindkey "\eP" history-search-backward
bindkey "\eQ" push-line
bindkey "\eR" toggle-literal-history
bindkey "\eS" spell-word
bindkey "\eT" transpose-words
bindkey "\eU" up-case-word
bindkey "\eW" copy-region-as-kill
bindkey "\e[A" up-line-or-history
bindkey "\e[B" down-line-or-history
bindkey "\e[C" forward-char
bindkey "\e[D" backward-char
bindkey "\e_" insert-last-word
bindkey "\ea" accept-and-hold
bindkey "\eb" backward-word
bindkey "\ec" capitalize-word
bindkey "\ed" kill-word
bindkey "\ef" forward-word
bindkey "\eg" get-line
bindkey "\eh" run-help
bindkey "\el" down-case-word
bindkey "\en" history-search-forward
bindkey "\ep" history-search-backward
bindkey "\eq" push-line
bindkey "\er" toggle-literal-history
bindkey "\es" spell-word
bindkey "\et" transpose-words
bindkey "\eu" up-case-word
bindkey "\ew" copy-region-as-kill
bindkey "\ex" execute-named-cmd
bindkey "\ey" yank-pop
bindkey "\ez" execute-last-named-cmd
bindkey "\e|" vi-goto-column
bindkey "\e^?" backward-kill-word
# Completions.
compctl -b bindkey
compctl -c builtin
compctl -v export
compctl -o setopt
compctl -v typeset
compctl -v unset
compctl -o unsetopt
compctl -v vared
compctl -c which
# Undefined functions.
# Defined functions.
# Limits.
limit datasize 511m
limit stacksize 8m
limit coredumpsize 100k
limit descriptors 64
# Non-array variables.
TERMCAP='vs|xterm|vs100|xterm terminal emulator (X window system):li#52:co#91: : :cr=^M:do=^J:nl=^J:bl=^G:le=^H:ho=\E[H: :co#80:li#20:cl=\E[H\E[2J:bs:am:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A: :ce=\E[K:cd=\E[J:so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m: :md=\E[1m:mr=\E[7m:me=\E[m: :ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:kb=^H: :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:ta=^I:pt:sf=
:sr=\EM: :al=\E[L:dl=\E[M:ic=\E[@:dc=\E[P: :MT:ks=\E[?1h\E=:ke=\E[?1l\E>: :is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l: :rs=\E[r\E<\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l:xn: :AL=\E[%dL:DL=\E[%dM:IC=\E[%d@:DC=\E[%dP: : :hs:ts=\E[?E\E[?%i%dT:fs=\E[?F:es:ds=\E[?E:'
TERM='xterm'
ARGC="0"
BAUD="0"
CDPATH=""
COLUMNS="80"
CVSROOT="/marian/p1/develop/cvs"
DIRSTACKSIZE="-1"
DISPLAY=":0.0"
DSQUERY="LAL"
EDITOR="vi"
EGID="101"
ERRNO="9"
EUID="115"
FCEDIT="vi"
FIGNORE=""
FPATH=""
FRAME2HTMLPRINTFILE="/usr/local/lib/apsb/lib/printout.frame"
GID="101"
HISTCHARS="!^#"
HISTSIZE="30"
HOME="/marian/u1/asson"
HOST="chacmool.sogs.stsci.edu"
HOSTTYPE="sun4"
KEYTIMEOUT="40"
LD_LIBRARY_PATH="/usr/local/lib:/usr/openwin/lib:/usr/lang/SC1.0"
LINENO="294"
LINES="24"
LISTMAX="100"
LITHISTSIZE="5"
LOGCHECK="60"
LOGNAME="asson"
MAIL="/usr/spool/mail/asson"
MAILCHECK="8640000"
MAILPATH=""
MANPATH="/usr/man:/usr/local/man:/usr/local/lib/apsb/man:/marian/p1"
NULLCMD="cat"
OLDPWD="/prufrock/data2/zsh-2.5.03"
OPENWINHOME="/usr/openwin"
OPTARG=""
OPTIND="1"
ORGANIZATION="Space Telescope Science Institute; Baltimore, MD"
PATH=".:/marian/u1/asson/bin:/marian/p1/bin:/usr/local/bin/sarthi:/chacmool/data1/asson/bin:/usr/local/lib/apsb/bin:/usr/local/lib/apsb/bin/pbmplus:/usr/local/bin/pbmplusnew:/usr/local/bin/pbmplus:/usr/local/xanadu/sun4/bin:/usr/local/frame/bin:/usr/ucb:/usr/bin:/usr/etc:/bin:/etc:/usr/lang:/usr/local/bin:/usr/stsci/bin:/usr/local/X11R5/bin:/usr/local/bin/X11:/usr/bin/X11:/usr/openwin/bin:/usr/openwin/demo:/usr/local/X11R5/bin:/usr/local/bin/X11:/usr/local/syb_491/bin:/usr/local/syb_491/sqr:."
PEP_RELEASE="operational"
PERIOD="0"
PGPPATH="/marian/u1/asson/.pgp"
POSTEDIT=""
PPID="22113"
PRINTER="lp6"
PROMPT2="> "
PROMPT3="?# "
PROMPT4="+ "
PS2="> "
PS3="?# "
PS4="+ "
PSVAR=""
PWD="/prufrock/data2/zsh-2.5.03"
RANDOM="20939"
READNULLCMD="more"
REPORTTIME="-1"
RPROMPT=""
RPS1=""
RPS2_DIR="/chacmool/data1/asson/rps2/"
SAVEHIST="0"
SECONDS="8"
SHELL="/usr/local/bin/zsh"
SHLVL="4"
SPROMPT="zsh: correct \`%R\' to \`%r\' [nyae]? "
SYBASE="/usr/local/syb_491"
TCLDEFAULT="/marian/p1/develop/tcl/extended/TCLDEFAULT"
TIMEFMT="%E real %U user %S system %P %J"
TKPERLLIBDIR="chacmool/data1/asson/tkperl-0.010/lib:/chacmool/data1/asson/tkperl-0.010/lib/demos"
TMOUT="0"
TMPPREFIX="/tmp/zsh"
TTY=""
UID="115"
USER="asson"
USERNAME="asson"
VERSION="zsh 2.5.03"
VISUAL="emacs"
WATCH=""
WATCHFMT="%n has %a %l from %m."
WINDOWID="41943053"
WORDCHARS="*?_-.[]~=/&;!#$%^(){}<>"
XAPPLRESDIR="/usr/local/lib/X11/app-defaults:/usr/openwin/lib/X11/app-defaults"
XFILESEARCHPATH="/usr/local/lib/X11/%T/%N%S:/usr/openwin/lib/%T/%N%S"
XKEYSYMDB="/usr/local/lib/X11/XKeysymDB"
apsb="/usr/local/lib/apsb/"
asson="/chacmool/data1/asson/"
disk="/chacmool/data1/"
each="unix"
emacs="/usr/local/lib/emacs"
mail="/chacmool/data1/asson/Email"
ops_data="/marian/data3/operational/pepsi/qm-data"
props="/usr/local/lib/proposals/"
status="0"
str="SunOS chacmool. 4.1.3 1 sun4c"
prompt='test%'
# Array variables.
argv=()
PROMPT=(%m):%c:[%h]
PS1=(%m):%c:[%h]
cdpath=()
fignore=()
fpath=()
mailpath=()
manpath=(/usr/man /usr/local/man /usr/local/lib/apsb/man /marian/p1)
path=(. /marian/u1/asson/bin /marian/p1/bin /usr/local/bin/sarthi /chacmool/data1/asson/bin /usr/local/lib/apsb/bin /usr/local/lib/apsb/bin/pbmplus /usr/local/bin/pbmplusnew /usr/local/bin/pbmplus /usr/local/xanadu/sun4/bin /usr/local/frame/bin /usr/ucb /usr/bin /usr/etc /bin /etc /usr/lang /usr/local/bin /usr/stsci/bin /usr/local/X11R5/bin /usr/local/bin/X11 /usr/bin/X11 /usr/openwin/bin /usr/openwin/demo /usr/local/X11R5/bin /usr/local/bin/X11 /usr/local/syb_491/bin /usr/local/syb_491/sqr .)
prompt=(%m):%c:[%h]
psvar=()
signals=(EXIT HUP INT QUIT ILL TRAP ABRT EMT FPE KILL BUS SEGV SYS PIPE ALRM TERM URG STOP TSTP CONT CHLD TTIN TTOU IO XCPU XFSZ VTALRM PROF WINCH LOST USR1 USR2 ZERR DEBUG)
watch=()
# Exported variables.
export TERMCAP
export TERM
export CVSROOT
export DISPLAY
export DSQUERY
export EDITOR
export FRAME2HTMLPRINTFILE
export HOME
export LD_LIBRARY_PATH
export LOGNAME
export MAIL
export MAILCHECK
export MANPATH
export OPENWINHOME
export ORGANIZATION
export PATH
export PEP_RELEASE
export PGPPATH
export PRINTER
export PROMPT
export PWD
export RPS2_DIR
export SHELL
export SHLVL
export SYBASE
export TCLDEFAULT
export TERM
export TKPERLLIBDIR
export USER
export VISUAL
export WINDOWID
export XAPPLRESDIR
export XFILESEARCHPATH
export XKEYSYMDB
export apsb
export asson
export disk
export emacs
export mail
export ops_data
export props
# Setopt.
setopt bgnice
setopt hashcmds
setopt hashdirs
setopt hashlistall
setopt notify
# END zsh saveset
--
------------------------------------------------------------------
Drew J. Asson, STScI, (410) 338-4474, http://www.stsci.edu/~asson/
** A quoi bon? **
Messages sorted by:
Reverse Date,
Date,
Thread,
Author