1
0
mirror of https://github.com/robbyrussell/oh-my-zsh.git synced 2025-12-14 11:20:41 +01:00
Files
oh-my-zsh/plugins/gcp-ps1/README.md
Marcin Niemira 4b9c2cfcd6 add basic gcp-ps1
2019-06-18 21:44:51 +10:00

35 lines
590 B
Markdown

# gcp prompt for zsh
Prompt which displays current configuration
## Current state
Tested only on ubuntu.
May or may not work on FreeBSD or osX. Feel free to fix any issue!
## Requirements
[gcloud](https://cloud.google.com/sdk/docs/downloads-interactive)
## Enabling
In order to use gcp-ps1 with Oh My Zsh, you'll need to enable them in the
.zshrc file. You'll find the zshrc file in your $HOME directory.
```shell
vim $HOME/.zshrc
```
Add gcp-ps1 to the list of enabled plugins and enable it on the prompt:
```shell
plugins=(
git
gcp-ps1
)
PROMPT=$PROMPT'$(gcp_ps1) '
```