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

Echoing Parameters $1



Hi,
I feel I'm gonna be flamed here

Here's a real simple function

#!zsh
# name : zv
echo $1

When I call it I get

>zv goat
VIM=/c/vim/vim63/

When I call it with a dot its OK

>. zv goat
goat

Am I missing something really simple ?;?

$ echo $ZSH_VERSION
4.2.4
on cygwin

$ setopt
extendedglob
interactive
localoptions
login
monitor
nonomatch
nopromptcr
shinstdin
zle


zzapper (vim, cygwin, wiki & zsh)
--

vim -c ":%s%s*%CyrnfrTfcbafbeROenzSZbbyranne%|:%s)[R-T]) )Ig|:norm G1VGg?"

http://www.vim.org/tips/tip.php?tip_id=305  Best of Vim Tips



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