Skip to content

A Powerline-style, Git-aware fish theme optimized for awesome.

License

Notifications You must be signed in to change notification settings

tyrone98/theme-bobthefish

 
 

Repository files navigation

bobthefish

bobthefish is a Powerline-style, Git-aware fish theme optimized for awesome.

![](https://img.shields.io/badge/Framework-Oh My Fish-blue.svg?style=flat) Join the chat at https://gitter.im/oh-my-fish/oh-my-fish

bobthefish

Installation

Add it to your ~/.config/fish/config.fish file:

Theme bobthefish

Open a new terminal session and run omf install.

You will probably need a Powerline-patched font for this to work. I recommend picking one of these.

This theme is based loosely on agnoster.

Features

  • A helpful, but not too distracting, greeting.
  • A subtle timestamp hanging out off to the right.
  • Powerline-style visual hotness.
  • More colors than you know what to do with.
  • An abbreviated path which doesn't abbreviate the name of the current project.
  • All the things you need to know about Git in a glance.
  • Visual indication that you can't write to the current directory.

The Prompt

  • Flags:
    • Previous command failed (!)
    • Background jobs (%)
    • You currently have superpowers ($)
  • User@Host (unless you're the default user)
  • Current RVM or rbenv (Ruby) version
  • Current virtualenv (Python) version
    • If you use virtualenv, you will probably need to disable the default virtualenv prompt, since it doesn't play nice with fish: set -x VIRTUAL_ENV_DISABLE_PROMPT 1
  • Abbreviated parent directory
  • Current directory, or Git or Mercurial project name
  • Current project's repo branch (branch-glyph master) or detached head ( d0dfd9b)
  • Git or Mercurial status, via colors and flags:
    • Dirty working directory (*)
    • Untracked files ()
    • Staged changes (~)
    • Stashed changes ($)
    • Unpulled commits (-)
    • Unpushed commits (+)
    • Unpulled and unpushed commits (±)
    • Note that not all of these have been implemented for hg yet :)
  • Abbreviated project-relative path

Configuration

You can override some default options in your config.fish:

set -g theme_display_git no
set -g theme_display_git_untracked no
set -g theme_display_git_ahead_verbose yes
set -g theme_display_hg yes
set -g theme_display_virtualenv no
set -g theme_display_ruby no
set -g theme_display_user yes
set -g default_user your_normal_user

About

A Powerline-style, Git-aware fish theme optimized for awesome.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%