JasonEtco / spacefish

πŸš€πŸŸ A fish port of spaceship

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

spacefish fish shell theme

πŸš€πŸŸ Spacefish

A Fish Shell prompt for Astronauts.

Spacefish is a Fish Shell port of Spaceship; the minimalistic, powerful and extremely customizable Zsh prompt. It combines everything you may need for convenient work, without unnecessary complications, like a real spacefish.

Preview

Spaceship with Hyper and One Dark

Features

  • Prompt character turns red if the last command exits with non-zero code.
  • Execution time of the last command if it exceeds 5 seconds.
  • Current Git branch and rich repo status:
    • ? β€” untracked changes;
    • + β€” uncommitted changes in the index;
    • ! β€” unstaged changes;
    • Β» β€” renamed files;
    • ✘ β€” deleted files;
    • $ β€” stashed changes;
    • = β€” unmerged changes;
    • ⇑ β€” ahead of remote branch;
    • ⇣ β€” behind of remote branch;
    • ⇕ β€” diverged chages.

Upcoming features

  • Displaying hostname/username
  • Indicator if user is root
  • Indicator for jobs in the background (✦).
  • Current Node.js version, through nvm/nodenv/n (β¬’).
  • Current Ruby version, through rvm/rbenv/chruby (πŸ’Ž).
  • Current Python pyenv (🐍).
  • Package version, if there's is a package in current directory (πŸ“¦).
  • Current battery level and status:
    • ⇑ - charging;
    • ⇣ - discharging;
    • β€’ - fully charged.
  • Optional exit-code of last command.
  • Optional time stamps 12/24hr in format.

Want more features? Please, open an issue or send pull request.

Requirements

To get spacefish working correctly you will need:

Installation

$ fisher matchai/spacefish

Customization

Spacefish works well out of the box, but you can customize almost everything if you want.

  • Options β€” Tweak section's behavior with tons of options.

You have ability to customize or disable specific elements of Spacefish. All options must be overridden in your config.fish.

License

MIT Β© Matan Kushner

About

πŸš€πŸŸ A fish port of spaceship

License:MIT License


Languages

Language:Shell 100.0%