From: Tanaka Akira <akr@jaist.ac.jp>
To: zsh-workers@sunsite.auc.dk
Subject: Re: PATCH: _ps, _pdf and _pspdf.
Date: 13 Aug 1999 09:35:55 +0900 [thread overview]
Message-ID: <rsqlnbg7c0k.fsf@crane.jaist.ac.jp> (raw)
In-Reply-To: Sven Wischnowsky's message of "Wed, 11 Aug 1999 15:45:59 +0200 (MET DST)"
In article <199908111345.PAA07735@beta.informatik.hu-berlin.de>,
Sven Wischnowsky <wischnow@informatik.hu-berlin.de> writes:
> diff -u -r oc/User/_colors Completion/User/_colors
> diff -u -r oc/User/_pbm Completion/User/_pbm
I found small problems in _pbm and _colors.
Index: Completion/User/_pbm
===================================================================
RCS file: /projects/zsh/zsh/Completion/User/Attic/_pbm,v
retrieving revision 1.2.2.1
diff -u -F^( -r1.2.2.1 _pbm
--- _pbm 1999/08/12 23:19:04 1.2.2.1
+++ _pbm 1999/08/13 00:32:21
@@ -116,7 +116,7 @@
# colon-separated list of words. We just execute this list of words
# as a command with its arguments.
- if [[ "$after" = *:* ]]; then
+ if [[ "$opts[$after]" = *:* ]]; then
after="${${opts[after]#*:}//:/ }"
[[ -z "$after" ]] || $=after
fi
Index: Completion/User/_colors
===================================================================
RCS file: /projects/zsh/zsh/Completion/User/Attic/_colors,v
retrieving revision 1.2.2.1
diff -u -F^( -r1.2.2.1 _colors
--- _colors 1999/08/12 23:19:03 1.2.2.1
+++ _colors 1999/08/13 00:32:21
@@ -5,11 +5,13 @@
# Cache of color names doesn't exist yet, create it.
- if [[ -f /usr/lib/X11/rgb.txt ]]; then
- file=/usr/lib/X11/rgb.txt
- elif [[ -f /usr/local/lib/X11/rgb.txt ]]; then
- file=/usr/local/lib/X11/rgb.txt
- fi
+ for f in /usr/{,local/,X11R6/,openwin/}lib/X11/rgb.txt
+ do
+ if [[ -f $f ]]; then
+ file=$f
+ break;
+ fi
+ done
if [[ -n "$file" ]]; then
_color_cache=( "${(@)${(@f)$(< $file)}[2,-1]##* }" )
--
Tanaka Akira
next prev parent reply other threads:[~1999-08-13 0:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-08-11 13:45 Sven Wischnowsky
1999-08-13 0:35 ` Tanaka Akira [this message]
-- strict thread matches above, loose matches on Subject: below --
1999-08-13 8:40 Sven Wischnowsky
1999-08-11 10:54 Sven Wischnowsky
1999-08-11 9:33 Tanaka Akira
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=rsqlnbg7c0k.fsf@crane.jaist.ac.jp \
--to=akr@jaist.ac.jp \
--cc=zsh-workers@sunsite.auc.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).