Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: _prcs small fix
- X-seq: zsh-workers 9385
 
- From: Alexandre Duret-Lutz <duret_g@xxxxxxxx>
 
- To: zsh-workers@xxxxxxxxxxxxxxx
 
- Subject: PATCH: _prcs small fix
 
- Date: 20 Jan 2000 10:32:43 +0100
 
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
 
Allow tilde expansion on the repository 
path when looking for projects.
Index: Completion/User/_prcs
--- Completion/User/_prcs Wed, 05 Jan 2000 14:51:45 +0100 Alexandre
+++ Completion/User/_prcs Thu, 20 Jan 2000 10:28:52 +0100 Alexandre
@@ -5,7 +5,7 @@
 
 (( $+functions[_prcs_projects] )) ||
 _prcs_projects() {
-  compadd $@ - ${opt_args[-R]:-${opt_args[--repository]:-${PRCS_REPOSITORY:-$HOME/PRCS}}}/*(/:t)
+  compadd $@ - ${~opt_args[-R]:-${opt_args[--repository]:-${PRCS_REPOSITORY:-$HOME/PRCS}}}/*(/:t)
 }	   
 
 # standard options for all subcommands 
-- 
Alexandre Duret-Lutz
Messages sorted by:
Reverse Date,
Date,
Thread,
Author