Skip to content

A clean vcs aware oh-my-fish theme with optional asdf right-prompt

License

Notifications You must be signed in to change notification settings

doughsay/omf-theme-doughsay

Repository files navigation

doughsay

A theme for Oh My Fish.

MIT License Fish Shell Version Oh My Fish Framework


A clean vcs aware theme with optional asdf right-prompt.

Install

$ omf install doughsay

Features

  • vcs aware (git, mercurial, svn)
  • asdf aware (optionally display current tool versions in right-prompt)

Configuration

The best place to put these is in your $OMF_CONFIG/init.fish (usually ~/.config/omf/init.fish). Set them by adding a line to that file like this:

set -g theme_display_asdf "yes"
  • theme_display_asdf - set to "yes" to display asdf tool versions in right prompt
  • theme_display_user - set to "yes" to show username and hostname in prompt
  • theme_hood_ornament - set to whatever you want to show up at the end of your prompt (defaults to "λ")

You can also configure the VCS symbols used in the prompt:

  • theme_vcs_symbol_ahead - (defaults to "+")
  • theme_vcs_symbol_behind - (defaults to "-")
  • theme_vcs_symbol_diverged - (defaults to "±")
  • theme_vcs_symbol_local - (defaults to "*")
  • theme_vcs_symbol_touched - (defaults to "…")
  • theme_vcs_symbol_dirty - (defaults to "○")
  • theme_vcs_symbol_staged - (defaults to "●")
  • theme_vcs_symbol_dirty_staged - (defaults to "◉")

Screenshots

Showing git repository statuses:

Showing asdf tool versions in the right-prompt:

set -g theme_display_asdf "yes"

NOTE: this requires installing the asdf plugin in oh-my-fish: omf install asdf

Showing user@hostname when logged into a remote machine:

set -g theme_display_user "yes"

License

MIT © Chris Dosé et al

About

A clean vcs aware oh-my-fish theme with optional asdf right-prompt

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages