zsh-users
 help / color / mirror / code / Atom feed
From: Shao Zhang <shao@shaoz.dhs.org>
To: ZSH Mail List <zsh-users@sunsite.auc.dk>
Subject: help with command completion
Date: Wed, 5 Jan 2000 16:09:32 +1100	[thread overview]
Message-ID: <20000105160932.A10584@localhost> (raw)

Hi,                                                                                                                                                              
        I am trying to learn programming command completion using                                                                                                
        zstyle. After a long read of /usr/share/zsh/functions, I still                                                                                           
        have to idea, not even how to start.                                                                                                                     
                                                                                                                                                                 
        I have the following two cases to do, can someone please give me                                                                                         
        a hand and tell me how to start??                                                                                                                        
                                                                                                                                                                 
                                                                                                                                                                 
        lpr -P[TAB] complets to a list a printer name, read from                                                                                                 
        /etc/printcap.                                                                                                                                           
                                                                                                                                                                 
                                                                                                                                                                 
        rm -rf completes fine, but sudo rm -rf does not work.                                                                                                    
                                                                                                                                                                 
                                                                                                                                                                 
        Thanks for the help.                                                                                                                                     
                                                                                                                                                                 
Shao.                                                                                                                                                            
                                                                                                            

-- 
____________________________________________________________________________
Shao Zhang - Running Debian 2.1  ___ _               _____
Department of Communications    / __| |_  __ _ ___  |_  / |_  __ _ _ _  __ _ 
University of New South Wales   \__ \ ' \/ _` / _ \  / /| ' \/ _` | ' \/ _` |
Sydney, Australia               |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, |
Email: shao@cia.com.au                                                  |___/ 
_____________________________________________________________________________


             reply	other threads:[~2000-01-05  9:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-05  5:09 Shao Zhang [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-01-05 14:37 Sven Wischnowsky
2000-01-05 13:42 Sven Wischnowsky
2000-01-05  2:08 Shao Zhang
1999-12-21  4:59 Shao Zhang
1999-12-21  9:48 ` Alexandre Duret-Lutz
1999-12-22  0:01   ` Shao Zhang

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=20000105160932.A10584@localhost \
    --to=shao@shaoz.dhs.org \
    --cc=zsh-users@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).