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

PATCH: _prcs small fix



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