Skip to content

perfaram/theme-octofish

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Octofish

![](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

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

Theme octofish

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 on BobTheFish and the right shell comes directly from FishLine.

Features

  • A helpful greeting, displaying the IP address and uptime in days.
  • Powerline-style visual hotness (fits perfectly with iTerm2 Solarized Dark).
  • Visual indication that you can't write to the current directory (either a lock or a different background on the path)
  • An abbreviated path.
  • A glyph indicating current privileges ($ for user, # for root)
  • A nice and powerful Git right-prompt.
  • Optionally shows last command duration on the right prompt.

The Left Prompt

  • A visual indicator of your privilege level
  • User@Host
  • Current RVM or rbenv (Ruby) version
  • Current virtualenv (Python) version
  • Abbreviated parent directory
  • Either a lock, or a red background when PWD is locked for writing
  • Flags:
    • Previous command failed (✘)
    • Background jobs (⚙)

The Right Prompt

  • A tick if you're clean
  • Vertical arrows if you have some commit ahead or behind upstream
  • A slope sign for untracked files
  • A bolt for unstaged modifications (dirty state)
  • Your workflow is considered clean if there's nothing to commit or stage and no untracked file.

Configuration

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

set -g theme_display_duration yes #Display the duration of last command
set -g theme_display_virtualenv no #Virtual Env.
set -g theme_display_ruby no #Ruby version
set -g theme_display_padlock yes #Padlock (when PWD is locked for writing)

Published in the hope that it will be useful

About

Octofish, the powerline-style fish theme optimized for AWESOME (and iTerm)

Resources

License

Stars

3 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages