A theme for Oh My Fish.
A clean vcs aware theme with optional asdf right-prompt.
$ omf install doughsay
- vcs aware (git, mercurial, svn)
- asdf aware (optionally display current tool versions in right-prompt)
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 prompttheme_display_user
- set to "yes" to show username and hostname in prompttheme_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 "◉")
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"
MIT © Chris Dosé et al