https://github.com/spaceship-prompt/spaceship-ember
๐น Ember.js section for Spaceship prompt
https://github.com/spaceship-prompt/spaceship-ember
ember ember-cli prompt shell spaceship spaceship-prompt terminal zsh
Last synced: 3 months ago
JSON representation
๐น Ember.js section for Spaceship prompt
- Host: GitHub
- URL: https://github.com/spaceship-prompt/spaceship-ember
- Owner: spaceship-prompt
- License: mit
- Created: 2022-05-26T17:51:57.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-04T18:07:13.000Z (over 2 years ago)
- Last Synced: 2025-04-12T09:52:25.872Z (3 months ago)
- Topics: ember, ember-cli, prompt, shell, spaceship, spaceship-prompt, terminal, zsh
- Language: Shell
- Homepage:
- Size: 23.4 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
README
๐น + ๐
Spaceship Ember.js
Ember.js section for Spaceship promptCurrent Ember.js version, through ember-cli (`๐น`).
## Installing
You need to source this plugin somewhere in your dotfiles. Here's how to do it with some popular tools:
### [Oh-My-Zsh]
Execute this command to clone this repo into Oh-My-Zsh plugin's folder:
```zsh
git clone https://github.com/spaceship-prompt/spaceship-ember.git $ZSH_CUSTOM/plugins/spaceship-ember
```Include `spaceship-ember` in Oh-My-Zsh plugins list:
```zsh
plugins=($plugins spaceship-ember)
```### [zplug]
```zsh
zplug "spaceship-prompt/spaceship-ember"
```### [antigen]
```zsh
antigen bundle "spaceship-prompt/spaceship-ember"
```### [antibody]
```zsh
antibody bundle "spaceship-prompt/spaceship-ember"
```### [zinit]
```zsh
zinit light "spaceship-prompt/spaceship-ember"
```### [zgen]
```zsh
zgen load "spaceship-prompt/spaceship-ember"
```### [sheldon]
```toml
[plugins.spaceship-ember]
github = "spaceship-prompt/spaceship-ember"
```### Manual
If none of the above methods works for you, you can install Spaceship manually.
1. Clone this repo somewhere, for example to `$HOME/.zsh/spaceship-ember`.
2. Source this section in your `~/.zshrc`.### Example
```zsh
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`:
```zsh title=".zshrc"
source "~/.zsh/spaceship-ember/spaceship-ember.plugin.zsh"
```## Usage
After installing, add the following line to your `.zshrc` in order to include Ember section in the prompt:
```zsh
spaceship add ember
```## Options
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 |## Contributing
First, thanks for your interest in contributing!
Contribute to this repo by submitting a pull request. Please use [conventional commits](https://www.conventionalcommits.org/), since this project adheres to [semver](https://semver.org/) and is automatically released via [semantic-release](https://github.com/semantic-release/semantic-release).
## License
MIT ยฉ [Denys Dovhan](http://denysdovhan.com) and [contributors][spaceship-contributors]
[Oh-My-Zsh]: https://ohmyz.sh/
[zplug]: https://github.com/zplug/zplug
[antigen]: https://antigen.sharats.me/
[antibody]: https://getantibody.github.io/
[zinit]: https://github.com/zdharma/zinit
[zgen]: https://github.com/tarjoilija/zgen
[sheldon]: https://sheldon.cli.rs/
[spaceship-contributors]: https://github.com/spaceship-prompt/spaceship-prompt/graphs/contributors