tiffafoo / spacefish

πŸš€πŸŸ A Fish Shell prompt for Astronauts

Home Page:https://spacefish.matchai.me/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

spacefish fish shell theme

πŸš€πŸŸ Spacefish

TravisCI AppVeyor Fish Shell

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.

Features

  • Indicator if user is root
  • 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 Node.js version, through nvm/nodenv/node (β¬’).
  • Current Ruby version, through rvm/rbenv (πŸ’Ž).
  • Package version, if there's is a package in current directory (πŸ“¦).
  • 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.
  • Current battery level and status:
    • ⇑ - charging;
    • ⇣ - discharging;
    • β€’ - fully charged.

Upcoming features

  • Displaying hostname/username
  • Indicator for jobs in the background (✦).
  • Current Python pyenv (🐍).
  • Current Ruby version, through chruby/asdf (πŸ’Ž).
  • Optional exit-code of last command.
  • Optional time stamps 12/24hr in format.

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

Preview

Spaceship with Hyper and One Dark

Requirements

To get spacefish working correctly you will need:

Installation

$ fisher matchai/spacefish
$ omf install 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 the ability to customize or disable specific elements of Spacefish. All options must be overridden in your config.fish.

Troubleshooting

Having issues? Take a look at our Troubleshooting page.

Still struggling? Please file an issue, describe your problem, and we will gladly help you.

License

MIT Β© Matan Kushner

About

πŸš€πŸŸ A Fish Shell prompt for Astronauts

https://spacefish.matchai.me/

License:MIT License


Languages

Language:Shell 100.0%