Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Globbing and RC_EXPAND_PARAM
- X-seq: zsh-workers 11100
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx, Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- Subject: Re: Globbing and RC_EXPAND_PARAM
- Date: Wed, 3 May 2000 10:39:21 +0000
- In-reply-to: <200005030841.KAA23096@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <200005030841.KAA23096@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
On May 3, 10:41am, Sven Wischnowsky wrote:
} Subject: Re: Globbing and RC_EXPAND_PARAM
}
} Not very nice either: *(/e:REPLY=-I\$REPLY)
}
} Whoa! Dirty tricks ;-)
zagzig[86] echo *(/e:REPLY=-I\$REPLY)
zsh: missing end of string
zagzig[87] echo *(/e:REPLY=-I\$REPLY:)
-ICVS -ICompletion -IConfig -IDoc -IEtc -IFunctions -IMisc -ISrc -IStartupFiles
-ITest -IUtil
Pretty cool, but one can play hell with _expand this way ...
zagzig[91] echo Completion/*(/e:REPLY=-I\$REPLY:)
zagzig[91] echo -I$REPLY -I$REPLY -I$REPLY -I$REPLY -I$REPLY -I$REPLY -I$REPLY
-I$REPLY -I$REPLY -I$REPLY -I$REPLY
Completing all expansions
-I$REPLY -I$REPLY -I$REPLY -I$REPLY -I$REPLY -I$REPLY -I$REPLY -I$REPLY
-I$REPLY -I$REPLY -I$REPLY
Completing expansions
-I$REPLY
Completing original
Completion/*(/e:REPLY=-I\$REPLY:)
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Messages sorted by:
Reverse Date,
Date,
Thread,
Author