Skip to content

Commit

Permalink
Further improve tide init function
Browse files Browse the repository at this point in the history
  • Loading branch information
hanoii committed Apr 3, 2024
1 parent ab764c3 commit b7083d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ following:
# run. Not sure if this is the best workaround, but otherwise the first `ddev fish`
# would show no prompt.
function mytide --on-event fish_prompt
if tide --version > /dev/null && not test -f ~/.config/fish/conf.d/.mytide
if not test -f ~/.config/fish/conf.d/.mytide && tide --version > /dev/null
tide configure --auto --style=Classic --prompt_colors='True color' --classic_prompt_color=Light --show_time=No --classic_prompt_separators=Angled --powerline_prompt_heads=Sharp --powerline_prompt_tails=Flat --powerline_prompt_style='One line' --prompt_spacing=Compact --icons='Many icons' --transient=Yes
touch ~/.config/fish/conf.d/.mytide
end
Expand Down

0 comments on commit b7083d7

Please sign in to comment.