Appearance
Installation
Package
Homebrew
zsh-transient-prompt is available on Homebrew. Run
shell
brew install olets/tap/zsh-transient-promptand follow the post-install instructions logged to the terminal.
TIP
brew upgrade will upgrade you to the latest version, even if it's a major version change.
Want to stay on the major version you instaled until you choose to upgrade to the next? When installing zsh-transient-prompt with Homebrew for the first time, run
shell
brew install olets/tap/zsh-transient-prompt@<major version>
# e.g.
# brew install olets/tap/zsh-transient-prompt@1If you've already installed olets/tap/zsh-transient-prompt with Homebrew, you can switch to a major version's formula by running
shell
brew uninstall --force zsh-transient-promptand then
shell
brew install olets/tap/zsh-transient-prompt@<major version>
# e.g.
# brew install olets/tap/zsh-transient-prompt@6Plugin
You can install zsh-transient-prompt with a zsh plugin manager, including those built into frameworks such as Oh-My-Zsh (OMZ) and prezto. Each has their own way of doing things. Read your package manager's documentation or the zsh plugin manager plugin installation procedures gist.
TIP
Want to stay on a particular major version until you choose to upgrade to the next? Use your package manager's convention for specifying the branch v<major version>, e.g. v1.
After adding the plugin to the manager, it will be available in all new terminals. To use it in an already-open terminal, restart zsh in that terminal:
shell
exec zshManual
Either download the archive of the release of your choice from https://github.com/olets/zsh-transient-prompt/releases and expand it.
or clone a single branch:
shellgit clone https://github.com/olets/zsh-transient-prompt --single-branch --branch <branch> --depth 1Replace
<branch>with a branch name. Good options aremain(for the latest stable release),next(for the latest release, even if it isn't stable), or a major version for examplev1.
Then add source path/to/transient-prompt.zsh-theme to your .zshrc (replace path/to/ with the real path), and restart zsh:
shell
exec zshUpdating
If you downloaded an archive, download the latest and update your .zshrc if necessary.
If you cloned the repo, cd into the clone and run
shell
git pull