Man page - zplug-rename-to(5)
Packages contains this manual
- zplug-hook-build(5)
- zplug-install(1)
- zplug-at(5)
- zplug-use(5)
- zplug-ignore(5)
- zplug-if(5)
- zplug-info(1)
- zplug-clean(1)
- zplug-load(1)
- zplug-hook-load(5)
- zplug-check(1)
- zplug-update(1)
- zplug-lazy(5)
- zplug-clear(1)
- zplug-on(5)
- zplug-defer(5)
- zplug-from(5)
- zplug-rename-to(5)
- zplug(1)
- zplug-dir(5)
- zplug-as(5)
- zplug-depth(5)
- zplug-status(1)
- zplug-frozen(5)
- zplug-list(1)
apt-get install zplug
Manual
ZPLUG-RENAME-TO
NAMESYNOPSIS
DESCRIPTION
EXAMPLES
SEE ALSO
FURTHER DOCUMENTATION
AUTHORS
COPYING
REPORTING BUGS
NAME
zplug-rename-to - Specify the filename you want to rename to
SYNOPSIS
zplug "username/reponame" , rename-to:a.sh
The word ´package´ refers to the string in the format: "username/reponame".
DESCRIPTION
By using rename-to tag, you can rename the package to what you want to change. It’s only valid with as:command.
Table 1. zplug rename-to tag
Besides, by using zstyle command, you can change default value but it’s impractical.
EXAMPLES
Rename fzf-bin to fzf:
$ zplug
´junegunn/fzf-bin´, \
from:gh-r, \
as:command, \
rename-to:fzf, \
use:´*darwin*amd64*´
Rename a command with the string captured with use tag
zplug
´b4b4r07/httpstat´, \
as:command, \
use:´(*).sh´, \
rename-to:´$1´
SEE ALSO
zplug(1)
FURTHER DOCUMENTATION
See the references in official wiki page to get started using zplug. The wiki may perhaps be overwhelming for first-time users.
AUTHORS
zplug was originally written by Masaki Ishiyama (a.k.a @b4b4r07). Many people have contributed to it.
COPYING
Copyright (C) 2015-2016 Masaki Ishiyama
MIT License
REPORTING BUGS
Report bugs to the zplug issues