oh-my-fish/themes/bobthefish
Liang Bo Wang 681d02b05a Fix python version detection in theme bobthefish
Relax the python version matching, so `python` that symlinks to
either major versions (e.g. 2, 3) or minor versions (e.g. 2.7, 3.4)
can be properly detected.

Note that currently both pypy and pypy3 have same display glyph.
2015-02-22 18:17:33 +08:00
..
fish_greeting.fish Fix theme function descriptions. 2014-05-14 12:50:14 -04:00
fish_prompt.fish Fix python version detection in theme bobthefish 2015-02-22 18:17:33 +08:00
fish_right_prompt.fish Fix theme function descriptions. 2014-05-14 12:50:14 -04:00
fish_title.fish Add bobthefish theme. 2013-09-26 12:46:14 -07:00
LICENSE Add an explicit copyright notice for bobthefish. 2014-05-14 12:51:52 -04:00
README.md [bobthefish] Add config options to readme. 2014-11-28 19:41:55 +11:00

bobthefish

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

bobthefish

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
  • Abbreviated parent directory
  • Current directory, or Git or Mercurial project name
  • Current project's repo branch ( 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_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