{"id":20432436,"url":"https://github.com/spaceship-prompt/spaceship-section","last_synced_at":"2025-04-12T20:52:45.452Z","repository":{"id":104178388,"uuid":"490396608","full_name":"spaceship-prompt/spaceship-section","owner":"spaceship-prompt","description":"😍 Custom section template for Spaceship prompt","archived":false,"fork":false,"pushed_at":"2023-01-04T18:07:15.000Z","size":40,"stargazers_count":15,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-12T20:52:40.543Z","etag":null,"topics":["prompt","shell","shell-prompt","shell-theme","spaceship","spaceship-prompt","terminal","zsh"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/spaceship-prompt.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null},"funding":{"github":"denysdovhan","patreon":"denysdovhan","open_collective":"spaceship-prompt","ko_fi":null,"custom":["buymeacoffee.com/denysdovhan"]}},"created_at":"2022-05-09T18:16:33.000Z","updated_at":"2025-01-06T08:44:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"1377504e-2b1b-4ab3-a2be-6c760be3ad97","html_url":"https://github.com/spaceship-prompt/spaceship-section","commit_stats":{"total_commits":21,"total_committers":3,"mean_commits":7.0,"dds":"0.23809523809523814","last_synced_commit":"055939cb13de632c8294637c2576bdc9be46bc5f"},"previous_names":[],"tags_count":4,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spaceship-prompt%2Fspaceship-section","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spaceship-prompt%2Fspaceship-section/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spaceship-prompt%2Fspaceship-section/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spaceship-prompt%2Fspaceship-section/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spaceship-prompt","download_url":"https://codeload.github.com/spaceship-prompt/spaceship-section/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248631725,"owners_count":21136560,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["prompt","shell","shell-prompt","shell-theme","spaceship","spaceship-prompt","terminal","zsh"],"created_at":"2024-11-15T08:15:08.425Z","updated_at":"2025-04-12T20:52:45.426Z","avatar_url":"https://github.com/spaceship-prompt.png","language":"Shell","funding_links":["https://github.com/sponsors/denysdovhan","https://patreon.com/denysdovhan","https://opencollective.com/spaceship-prompt","buymeacoffee.com/denysdovhan"],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n  😍 + 🚀\n  \u003cbr\u003eSpaceship Section\u003cbr\u003e\n\u003c/h1\u003e\n\n\u003ch4 align=\"center\"\u003e\n  A \u003ca href=\"https://template.com\" target=\"_blank\"\u003eFoobar\u003c/a\u003e section for Spaceship prompt\n\u003c/h4\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/spaceship-prompt/spaceship-section/releases\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/v/release/spaceship-prompt/spaceship-section.svg?style=flat-square\"\n      alt=\"GitHub Release\" /\u003e\n  \u003c/a\u003e\n\n  \u003ca href=\"https://github.com/spaceship-prompt/spaceship-section/actions\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/actions/workflow/status/spaceship-prompt/spaceship-gradle/ci.yaml?style=flat-square\"\n      alt=\"GitHub Workflow Status\" /\u003e\n  \u003c/a\u003e\n\n  \u003ca href=\"https://twitter.com/SpaceshipPrompt\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/twitter-%40SpaceshipPrompt-00ACEE.svg?style=flat-square\"\n      alt=\"Spaceship Twitter\" /\u003e\n  \u003c/a\u003e\n\n  \u003ca href=\"https://discord.gg/NTQWz8Dyt9\"\u003e\n    \u003cimg\n      src=\"https://img.shields.io/discord/859409950999707668?label=discord\u0026logoColor=white\u0026style=flat-square\"\n      alt=\"Chat on Discord\"\n    /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\nCurrent Foobar version, through foobar (`😍`).\n\n## Installing\n\nYou need to source this plugin somewhere in your dotfiles. Here's how to do it with some popular tools:\n\n### [Oh-My-Zsh]\n\nExecute this command to clone this repo into Oh-My-Zsh plugin's folder:\n\n```zsh\ngit clone https://github.com/spaceship-prompt/spaceship-section.git $ZSH_CUSTOM/plugins/spaceship-section\n```\n\nInclude `spaceship-section` in Oh-My-Zsh plugins list:\n\n```zsh\nplugins=($plugins spaceship-section)\n```\n\n### [zplug]\n\n```zsh\nzplug \"spaceship-prompt/spaceship-section\"\n```\n\n### [antigen]\n\n```zsh\nantigen bundle \"spaceship-prompt/spaceship-section\"\n```\n\n### [antibody]\n\n```zsh\nantibody bundle \"spaceship-prompt/spaceship-section\"\n```\n\n### [zinit]\n\n```zsh\nzinit light \"spaceship-prompt/spaceship-section\"\n```\n\n### [zgen]\n\n```zsh\nzgen load \"spaceship-prompt/spaceship-section\"\n```\n\n### [sheldon]\n\n```toml\n[plugins.spaceship-section]\ngithub = \"spaceship-prompt/spaceship-section\"\n```\n\n### Manual\n\nIf none of the above methods works for you, you can install Spaceship manually.\n\n1. Clone this repo somewhere, for example to `$HOME/.zsh/spaceship-section`.\n2. Source this section in your `~/.zshrc`.\n\n### Example\n\n```zsh\nmkdir -p \"$HOME/.zsh\"\ngit clone --depth=1 https://github.com/spaceship-prompt/spaceship-section.git \"$HOME/.zsh/spaceship-section\"\n```\n\nFor initializing prompt system add this to your `.zshrc`:\n\n```zsh title=\".zshrc\"\nsource \"~/.zsh/spaceship-section/spaceship-section.plugin.zsh\"\n```\n\n## Usage\n\nAfter installing, add the following line to your `.zshrc` in order to include Ember section in the prompt:\n\n```zsh\nspaceship add foobar\n```\n\n## Options\n\nThis section is shown only in directories within a foobar context.\n\n| Variable                   |              Default               | Meaning                              |\n| :------------------------- | :--------------------------------: | ------------------------------------ |\n| `SPACESHIP_FOOBAR_SHOW`   |               `true`               | Show current section                 |\n| `SPACESHIP_FOOBAR_PREFIX` | `$SPACESHIP_PROMPT_DEFAULT_PREFIX` | Prefix before section                |\n| `SPACESHIP_FOOBAR_SUFFIX` | `$SPACESHIP_PROMPT_DEFAULT_SUFFIX` | Suffix after section                 |\n| `SPACESHIP_FOOBAR_SYMBOL` |               `😍·`                | Character to be shown before version |\n| `SPACESHIP_FOOBAR_COLOR`  |             `yellow`               | Color of section                     |\n\n## Contributing\n\nFirst, thanks for your interest in contributing!\n\nContribute 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).\n\n## License\n\nMIT © [Name Surname](http://yourwebsite.com)\n\n\u003c!-- References --\u003e\n\n[Oh-My-Zsh]: https://ohmyz.sh/\n[zplug]: https://github.com/zplug/zplug\n[antigen]: https://antigen.sharats.me/\n[antibody]: https://getantibody.github.io/\n[zinit]: https://github.com/zdharma/zinit\n[zgen]: https://github.com/tarjoilija/zgen\n[sheldon]: https://sheldon.cli.rs/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspaceship-prompt%2Fspaceship-section","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspaceship-prompt%2Fspaceship-section","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspaceship-prompt%2Fspaceship-section/lists"}