zplug-rename-to - Specify the filename you want to rename to
Contents
Copying
Copyright (C) 2015-2016 Masaki Ishiyama
MIT License
Description
By using rename-to tag, you can rename the package to what you want to change. It’s only valid with
as:command.
Table1.zplugrename-totag
┌────────────────┬───────────────┐
│ PossiveValues │ Defaultvalue │
├────────────────┼───────────────┤
│ │ │
│ (rename) │ (none) │
└────────────────┴───────────────┘
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´
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-rename-to - Specify the filename you want to rename to
Reporting Bugs
Report bugs to the zplug issues
ZPLUG Manual 12/28/2016 ZPLUG-RENAME-TO(5)
See Also
zplug(1)
Synopsis
zplug"username/reponame", rename-to:a.sh
The word ´package´ refers to the string in the format: "username/reponame".
