zsh-users
 help / color / mirror / code / Atom feed
From: Jacob Menke <jmenke@wccnet.edu>
To: zsh-users@zsh.org
Subject: Adding Global Aliases to completion lists
Date: Tue, 12 Mar 2019 23:43:51 -0400	[thread overview]
Message-ID: <CAMgxA+cpR3=PRY0zRr_DTTE=rGXf2-_mQxhqv8Zez0L4bvXORw@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 870 bytes --]

Hello I was wondering how to add global aliases to completion menu
selection?  Regular aliases and suffix aliases are already present.  I am
separating the menu selection items by tags.

zstyle ':completion:*' group-name ''

This is the debugging output from ^Xh when I want to add these completion
items.

tags in context :completion::complete:-command-::
    commands builtins functions aliases suffix-aliases reserved-words jobs
parameters parameters  (_command_names _autocd)
    commands
                      (_path_commands _command_names _autocd)
    jobs
                      (_jobs _command_names _autocd)
    parameters
                      (_parameters _command_names _autocd)
    local-directories named-directories
                       (_cd _autocd)
    users named-directories directory-stack
                       (_tilde _cd _autocd)

Thanks Jacob

             reply	other threads:[~2019-03-13  3:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-13  3:43 Jacob Menke [this message]
2019-03-13 14:15 ` Daniel Shahaf

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='CAMgxA+cpR3=PRY0zRr_DTTE=rGXf2-_mQxhqv8Zez0L4bvXORw@mail.gmail.com' \
    --to=jmenke@wccnet.edu \
    --cc=zsh-users@zsh.org \
    /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).