An open API service indexing awesome lists of open source software.

https://github.com/doughsay/omf-theme-doughsay

A clean vcs aware oh-my-fish theme with optional asdf right-prompt
https://github.com/doughsay/omf-theme-doughsay

asdf fish-shell git mercurial oh-my-fish svn

Last synced: 3 months ago
JSON representation

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

Awesome Lists containing this project

README

          

#### doughsay
> A theme for [Oh My Fish][omf-link].

[![MIT License](https://img.shields.io/badge/license-MIT-007EC7.svg?style=flat-square)](/LICENSE)
[![Fish Shell Version](https://img.shields.io/badge/fish-v2.2.0-007EC7.svg?style=flat-square)](https://fishshell.com)
[![Oh My Fish Framework](https://img.shields.io/badge/Oh%20My%20Fish-Framework-007EC7.svg?style=flat-square)](https://www.github.com/oh-my-fish/oh-my-fish)


A clean vcs aware theme with optional [asdf](https://github.com/asdf-vm/asdf) right-prompt.

## Install

```fish
$ omf install doughsay
```

## Features

* vcs aware (git, mercurial, svn)
* [asdf](https://github.com/asdf-vm/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](https://github.com/asdf-vm/asdf) tool versions in the right-prompt:

> set -g theme_display_asdf "yes"

> NOTE: this requires installing the [asdf plugin](https://github.com/doughsay/omf-asdf) in oh-my-fish: `omf install asdf`



Showing user@hostname when logged into a remote machine:

> set -g theme_display_user "yes"



# License

[MIT][mit] © [Chris Dosé][author] et [al][contributors]

[mit]: https://opensource.org/licenses/MIT
[author]: https://github.com/doughsay
[contributors]: https://github.com/doughsay/omf-theme-doughsay/graphs/contributors
[omf-link]: https://www.github.com/oh-my-fish/oh-my-fish

[license-badge]: https://img.shields.io/badge/license-MIT-007EC7.svg?style=flat-square