Skip to content

Commit b7083d7

Browse files
committed
Further improve tide init function
1 parent ab764c3 commit b7083d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ following:
4646
# run. Not sure if this is the best workaround, but otherwise the first `ddev fish`
4747
# would show no prompt.
4848
function mytide --on-event fish_prompt
49-
if tide --version > /dev/null && not test -f ~/.config/fish/conf.d/.mytide
49+
if not test -f ~/.config/fish/conf.d/.mytide && tide --version > /dev/null
5050
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
5151
touch ~/.config/fish/conf.d/.mytide
5252
end

0 commit comments

Comments
 (0)