zplug-rename-to(5)

zplug-rename-to5

Specify the filename you want to rename to

Usage

zplug "username/reponame", rename-to:a.sh
The word ´package´ refers to the string in the format: "username/reponame".

Overview

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

Possive ValuesDefault value
(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.

Copying

Copyright (C) 2015-2016 Masaki Ishiyama

MIT License

Releases

Unchanged in 5 releases since Debian 9 (Stretch).

  1. 9–13

Authors

zplug was originally written by Masaki Ishiyama (a.k.a @b4b4r07). Many people have contributed to it.

Reporting bugs

Report bugs to the zplug issues

From zplug 2.4.2-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.