Ember.js section for Spaceship prompt
Current Ember.js version, through ember-cli (๐น
).
You need to source this plugin somewhere in your dotfiles. Here's how to do it with some popular tools:
Execute this command to clone this repo into Oh-My-Zsh plugin's folder:
git clone https://github.com/spaceship-prompt/spaceship-ember.git $ZSH_CUSTOM/plugins/spaceship-ember
Include spaceship-ember
in Oh-My-Zsh plugins list:
plugins=($plugins spaceship-ember)
zplug "spaceship-prompt/spaceship-ember"
antigen bundle "spaceship-prompt/spaceship-ember"
antibody bundle "spaceship-prompt/spaceship-ember"
zinit light "spaceship-prompt/spaceship-ember"
zgen load "spaceship-prompt/spaceship-ember"
[plugins.spaceship-ember]
github = "spaceship-prompt/spaceship-ember"
If none of the above methods works for you, you can install Spaceship manually.
- Clone this repo somewhere, for example to
$HOME/.zsh/spaceship-ember
. - Source this section in your
~/.zshrc
.
mkdir -p "$HOME/.zsh"
git clone --depth=1 https://github.com/spaceship-prompt/spaceship-ember.git "$HOME/.zsh/spaceship-ember"
For initializing prompt system add this to your .zshrc
:
source "~/.zsh/spaceship-ember/spaceship-ember.plugin.zsh"
After installing, add the following line to your .zshrc
in order to include Ember section in the prompt:
spaceship add ember
Ember.js section is shown only in directories containing a ember-cli-build.js
file.
Variable | Default | Meaning |
---|---|---|
SPACESHIP_EMBER_SHOW |
true |
Current Ember.js section |
SPACESHIP_EMBER_PREFIX |
$SPACESHIP_PROMPT_DEFAULT_PREFIX |
Prefix before Ember.js section |
SPACESHIP_EMBER_SUFFIX |
$SPACESHIP_PROMPT_DEFAULT_SUFFIX |
Suffix after Ember.js section |
SPACESHIP_EMBER_SYMBOL |
๐นยท |
Character to be shown before Ember.js version |
SPACESHIP_EMBER_COLOR |
210 |
Color of Ember.js section |
First, thanks for your interest in contributing!
Contribute to this repo by submitting a pull request. Please use conventional commits, since this project adheres to semver and is automatically released via semantic-release.
MIT ยฉ Denys Dovhan and contributors