A theme for Oh My Fish.
Fork of om-my-fish with some extra sparkle.
$ omf install github.com/martinparadiso/theme-birax
NOTE: The theme uses Nerd Fonts by default, if you see strange characters either install a patched font, or replace the icons with:
set -U birax_home_icon '~'
set -U birax_git_icon ''
set -U birax_shell_icon '$ '
set -U birax_private_icon '(private)'
- 'Nice path' mode by setting an Universal variable
birax_nice_path
- Hide the 'pipes' by setting
birax_no_pipes
- Python VirtualEnv version
- Private mode icon
- Experimental support for Vi mode
You can tweak the following environment variables to customize the theme. 'Flag' variables are 'active' if they are present with any value (can be empty). 'text' variables are used only if present, and the text given is used in the corresponding place, can be empty to remove the icon.
Variable | Type | Notes |
---|---|---|
birax_nice_path |
flag | Replace fish std. path function with something nicer. |
birax_no_pipes |
flag | Remove the 'pipes' connecting the prompt lines |
birax_home_icon |
text | Set the icon for the HOME directory in nice path mode |
birax_home_git |
text | Set the icon to prepend to current git checkout |
birax_shell_icon |
text | Set the icon for shell prompt |
birax_private_icon |
text | Set the icon to indicate the shell is in private mode |
To change an icon or activate a flag:
set -U <variable> <optional-content>
To disable a flag or go back to default icons:
set -Ue <variable>
p
MIT © Martín Paradiso et al