A fish shell prompt
MIT License
A dead simple fishshell prompt.
Fishblocks Preview |
---|
fish > 3.1.0
git
MesloLGS NF
is recommended./PATH/TO/FISH/CONFIG/functions/
.Colors
The colors may vary due to the difference of our terminal colors. Here's mine if you want it:
# Black
color10 #3D4C5F
color8 #56687E
# Red
color1 #EE4F84
color9 #F48FB1
# Green
color2 #53E2AE
color10 #A1EFD3
# Yellow
color3 #F1FF52
color11 #F1FA8C
# Blue
color4 #6498EF
color12 #92B6F4
# Magenta
color5 #985EFF
color13 #BD99FF
# Cyan
color6 #24D1E7
color14 #87DFEB
# White
color7 #E5E5E5
color15 #F8F8F2
Fishshell Git config
These are the recommended git config for fish. You can put it on your config.fish
.
set -g __fish_git_prompt_show_informative_status 1
set -g __fish_git_prompt_showupstream informative
set -g __fish_git_prompt_showdirtystate yes
set -g __fish_git_prompt_char_stateseparator ' '
set -g __fish_git_prompt_char_cleanstate '✔'
set -g __fish_git_prompt_char_dirtystate '✚'
set -g __fish_git_prompt_char_invalidstate '✖'
set -g __fish_git_prompt_char_stagedstate '●'
set -g __fish_git_prompt_char_stashstate '⚑'
set -g __fish_git_prompt_char_untrackedfiles '?'
set -g __fish_git_prompt_char_upstream_ahead ''
set -g __fish_git_prompt_char_upstream_behind ''
set -g __fish_git_prompt_char_upstream_diverged 'ﱟ'
set -g __fish_git_prompt_char_upstream_equal ''
set -g __fish_git_prompt_char_upstream_prefix ''''
The roadmap for this project. PRs are welcome!
Fork the project, do some improvement or modifications, then feel free to submit a pull request! Bug reports are also welcome!