zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: _prcs small fix
@ 2000-01-20  9:32 Alexandre Duret-Lutz
  0 siblings, 0 replies; only message in thread
From: Alexandre Duret-Lutz @ 2000-01-20  9:32 UTC (permalink / raw)
  To: zsh-workers


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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-01-20  9:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-01-20  9:32 PATCH: _prcs small fix Alexandre Duret-Lutz

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).