mirror of
https://github.com/zplug/zplug
synced 2025-04-06 07:39:12 +02:00
132 lines
2.4 KiB
Groff
132 lines
2.4 KiB
Groff
'\" t
|
|
.\" Title: zplug-from
|
|
.\" Author: [see the "Authors" section]
|
|
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
|
|
.\" Date: 11/21/2016
|
|
.\" Manual: ZPLUG Manual
|
|
.\" Source: ZPLUG Manual
|
|
.\" Language: English
|
|
.\"
|
|
.TH "ZPLUG\-FROM" "5" "11/21/2016" "ZPLUG Manual" "ZPLUG Manual"
|
|
.\" -----------------------------------------------------------------
|
|
.\" * set default formatting
|
|
.\" -----------------------------------------------------------------
|
|
.\" disable hyphenation
|
|
.nh
|
|
.\" disable justification (adjust text to left margin only)
|
|
.ad l
|
|
.\" -----------------------------------------------------------------
|
|
.\" * MAIN CONTENT STARTS HERE *
|
|
.\" -----------------------------------------------------------------
|
|
.SH "NAME"
|
|
zplug-from \- Specify the service from which you install
|
|
.SH "SYNOPSIS"
|
|
.sp
|
|
.nf
|
|
\fIzplug\fR \fI"username/reponame"\fR, \fIfrom:plugin\fR
|
|
.fi
|
|
.sp
|
|
.nf
|
|
The word \'package\' refers to the string in the format: "username/reponame"\&.
|
|
.fi
|
|
.SH "DESCRIPTION"
|
|
.sp
|
|
By using from tag, you can choose whether the package you want to install will be installed as the plugin or as the command\&.
|
|
.sp
|
|
.it 1 an-trap
|
|
.nr an-no-space-flag 1
|
|
.nr an-break-flag 1
|
|
.br
|
|
.B Table\ \&1.\ \&zplug from tag
|
|
.TS
|
|
allbox tab(:);
|
|
ltB ltB.
|
|
T{
|
|
Possive Values
|
|
T}:T{
|
|
Default value
|
|
T}
|
|
.T&
|
|
lt lt.
|
|
T{
|
|
.sp
|
|
github, gitlab, bitbucket, gh\-r, gist, oh\-my\-zsh, local
|
|
T}:T{
|
|
.sp
|
|
github
|
|
T}
|
|
.TE
|
|
.sp 1
|
|
.sp
|
|
Besides, by using zstyle command, you can change default value:
|
|
.sp
|
|
.if n \{\
|
|
.RS 4
|
|
.\}
|
|
.nf
|
|
$ zstyle ":zplug:tag" from local
|
|
.fi
|
|
.if n \{\
|
|
.RE
|
|
.\}
|
|
.SH "EXAMPLES"
|
|
.sp
|
|
Install from oh\-my\-zsh:
|
|
.sp
|
|
.if n \{\
|
|
.RS 4
|
|
.\}
|
|
.nf
|
|
$ zplug "plugins/git", \e
|
|
as:plugin, \e
|
|
from:oh\-my\-zsh
|
|
.fi
|
|
.if n \{\
|
|
.RE
|
|
.\}
|
|
.sp
|
|
Install from gist:
|
|
.sp
|
|
.if n \{\
|
|
.RS 4
|
|
.\}
|
|
.nf
|
|
$ zplug "b4b4r07/79ee61f7c140c63d2786" \e
|
|
as:command, \e
|
|
from:gist
|
|
.fi
|
|
.if n \{\
|
|
.RE
|
|
.\}
|
|
.sp
|
|
Install from local:
|
|
.sp
|
|
.if n \{\
|
|
.RS 4
|
|
.\}
|
|
.nf
|
|
$ zplug "~/\&.zsh/plugins/brew" \e
|
|
from:local, \e
|
|
use:"*\&.sh"
|
|
.fi
|
|
.if n \{\
|
|
.RE
|
|
.\}
|
|
.SH "SEE ALSO"
|
|
.sp
|
|
\fBzplug(1)\fR
|
|
.SH "FURTHER DOCUMENTATION"
|
|
.sp
|
|
See the references in official wiki page to get started using zplug\&. The wiki may perhaps be overwhelming for first\-time users\&.
|
|
.SH "AUTHORS"
|
|
.sp
|
|
zplug was originally written by Masaki Ishiyama (a\&.k\&.a @b4b4r07)\&. Many people have contributed to it\&.
|
|
.SH "COPYING"
|
|
.sp
|
|
Copyright (C) 2015\-2016 Masaki Ishiyama
|
|
.sp
|
|
MIT License
|
|
.SH "REPORTING BUGS"
|
|
.sp
|
|
Report bugs to the zplug issues
|