From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from primenet.com.au (ns1.primenet.com.au [203.24.36.2]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id 6d7f322f for ; Sat, 7 Sep 2019 00:31:32 +0000 (UTC) Received: (qmail 25402 invoked by alias); 6 Sep 2019 20:29:48 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: List-Unsubscribe: X-Seq: 24231 Received: (qmail 29756 invoked by uid 1010); 6 Sep 2019 20:29:48 -0000 X-Qmail-Scanner-Diagnostics: from mail-lj1-f170.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.101.2/25559. spamassassin: 3.4.2. Clear:RC:0(209.85.208.170):SA:0(-1.9/5.0):. Processed in 2.091782 secs); 06 Sep 2019 20:29:48 -0000 X-Envelope-From: schaefer@brasslantern.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.208.170 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=qWE3Q/6wkPos9f5UkZ50VQgnYIsVCb6KkL+cheKKmY8=; b=zqtSaqTi36noObiuBamSz3dmzoYm0JmsRKtIkcMCQBwsDlLbY4ZpDTlVWtvvOwN1E2 vwI2uy0svhri98uzsgNQeLehaFgyFVdieidnRn9liNaVrdsaqGRXSjQTMlxTKX7IZwas iU2w4faOIsvsZtI4nWSgW7yFqd+bzzsaLWhZYJfRGoHo2B52M88zbBtm3Lgf2vt3+OQG 8TlPk8KStNiLcYHd8Tsjg6SxF/psy2LlJVCaZt4juCkzxbiRl6bzzpWyn6nLKrl1eQ1S F7fskspWj3QRF6FaCrSrJgQdr8qwVskHb2BcfBsl101hOo452VjF1AT88sfVVDOP9p0t 8L1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=qWE3Q/6wkPos9f5UkZ50VQgnYIsVCb6KkL+cheKKmY8=; b=ojSrgmMUBTyXeUAMPhiJXL9Z3dbKqa7Jp7zYABCvniNH8pHqnEDHX+W1t4mhaGm2+m hZ3M69yYxR0YB4awkvZ+HJh5ku6Gx19nscZGLR3nvteO5L4kuxho9nJT41M4v9QsfUp+ 267F3WUjmGahooS0FqfFhTcQfkr3zt5joNFfMKR+IhKMUufhM4oTsH7M06oi0CfTEs8W Eb6W2B3reJ5wyUJYPAPBpKY09aNve6k1Vmlje5A55lJ+bBLS8csgxVifQuuNSKrCg7B8 8FCzpDrQSRP56QcU7WYHHZjDg0kThPVnOJ130LwdM/aE9MJwCSlgsYRihyQBlbFFN6ck JcaA== X-Gm-Message-State: APjAAAXEODKz8CKeFbyW7ebxAsUt8cyoiEHU1s/N5BnzRH+e2fv4MFxl ImIe/b1RqCKgmP3nFIlRR5L+uJP6Lfj5GXAqSdkWDg== X-Google-Smtp-Source: APXvYqyW1wKdFFLFtmMaqODrcng6Iokck7bG0AWIoH+cGPRA9a6rMMg9Oo5P/IMtK8ZX+NTqtQcI5CSSq+wmEg044WE= X-Received: by 2002:a05:651c:1b8:: with SMTP id c24mr6902557ljn.2.1567801752548; Fri, 06 Sep 2019 13:29:12 -0700 (PDT) MIME-Version: 1.0 References: <20190906181450.GA61162@eeyore.my.domain> In-Reply-To: From: Bart Schaefer Date: Fri, 6 Sep 2019 13:29:01 -0700 Message-ID: Subject: Re: Observe what profiles are loaded? To: Peng Yu Cc: zsh-users Content-Type: text/plain; charset="UTF-8" On Fri, Sep 6, 2019 at 11:45 AM Peng Yu wrote: > > I don't follow the documentation of `-o`. Could you please explain > what it means? If you read "man zshoptions" you'll see that every option has a long name (e.g., AUTO_CD or SOURCE_TRACE or XTRACE etc.), and a subset of options also have a "single letter option" (prefixed by a hyphen). The long name is for use with "setopt" and the single letter is for use either with the builtin "set" command or as startup options to the "zsh" invocation itself. In the event that you want to pass to "zsh" an option that does not have a "single letter" variation, you can use "zsh -o name" where "name" is the long name of the option; in the current example: "zsh -o SOURCE_TRACE".