https://github.com/johanmeiring/fishy-joe
My Fish shell prompt
https://github.com/johanmeiring/fishy-joe
Last synced: 3 months ago
JSON representation
My Fish shell prompt
- Host: GitHub
- URL: https://github.com/johanmeiring/fishy-joe
- Owner: johanmeiring
- License: mit
- Created: 2018-05-06T11:05:06.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-01-05T15:05:02.000Z (over 5 years ago)
- Last Synced: 2025-03-26T10:44:56.600Z (3 months ago)
- Language: Shell
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# fishy-joe
[](https://github.com/johanmeiring/awesomeminer-go-sdk/blob/master/LICENSE)
[](https://fishshell.com)
[](https://www.github.com/oh-my-fish/oh-my-fish)A theme for [Oh My Fish](https://www.github.com/oh-my-fish/oh-my-fish).
## Install
```fish
$ omf install https://github.com/johanmeiring/fishy-joe
Updating https://github.com/oh-my-fish/packages-main master... Done!
Installing package fishy-joe
✔ fishy-joe successfully installed.
$ omf theme fishy-joe
...
```## Configuration
This theme uses Fish's built-in `__fish_git_prompt` function, and as such the Git portion of the prompt can be customised as per [http://mariuszs.github.io/blog/2013/informative_git_prompt.html](http://mariuszs.github.io/blog/2013/informative_git_prompt.html). My settings in `~/.config/fish/config.fish` (or alternatively `~/.config/omf/init.fish`) are currently as follows:
```fish
set __fish_git_prompt_show_informative_status 'yes'
set __fish_git_prompt_showdirtystate 'yes'
set __fish_git_prompt_showstashstate 'yes'
set __fish_git_prompt_showuntrackedfiles 'yes'
set __fish_git_prompt_showupstream 'yes'
set __fish_git_prompt_showcolorhints 'yes'
set __fish_git_prompt_color_branch yellow
set __fish_git_prompt_color_upstream_ahead green
set __fish_git_prompt_color_upstream_behind red
set __fish_git_prompt_color_branch_dirtystate red
set __fish_git_prompt_color_branch_cleanstate green
```## License
MIT. See the LICENSE file for more details.
## Donations
Donations are very welcome, and can be made to the following addresses:
* BTC: 1AWHJcUBha35FnuuWat9urRW2FNc4ftztv
* ETH: 0xAF1Aac4c40446F4C46e55614F14d9b32d712ECBc