zplug-as - Specify whether to register the package as plugins or commands
Contents
Copying
Copyright (C) 2015-2016 Masaki Ishiyama
MIT License
Description
By using as tag, you can choose whether the package you want to install will be installed as the plugin
or as the command.
Table1.zplugastag
┌────────────────────────┬───────────────┐
│ PossiveValues │ Defaultvalue │
├────────────────────────┼───────────────┤
│ │ │
│ plugin, command, theme │ plugin │
└────────────────────────┴───────────────┘
Besides, by using zstyle command, you can change default value:
$ zstyle ":zplug:tag" as command
Examples
As a plugin:
$ zplug "b4b4r07/enhancd", \
as:plugin, \
use:enhancd.sh
As a command:
$ zplug "stedolan/jq" \
as:command, \
from:gh-r, \
use:"*darwin*"
As a theme:
$ zplug ´themes/apple´, \
as:theme, \
from:oh-my-zsh
Further Documentation
See the references in official wiki page to get started using zplug. The wiki may perhaps be overwhelming
for first-time users.
Name
zplug-as - Specify whether to register the package as plugins or commands
Reporting Bugs
Report bugs to the zplug issues
ZPLUG Manual 11/21/2016 ZPLUG-AS(5)
See Also
zplug(1)
Synopsis
zplug"username/reponame", as:plugin
The word ´package´ refers to the string in the format: "username/reponame".
