IlanCosman / tide

🌊 The ultimate Fish prompt.
MIT License
2.84k stars 103 forks source link

MISSING GIT RELATED INFORMATION #434

Open mukul98s opened 1 year ago

mukul98s commented 1 year ago

MISSING GIT RELATED INFORMATION

Steps to reproduce

  1. cd into a git repository folder
  2. git information is missing

Screenshots

image

Environment

Output of tide bug-report:

fish version: 3.6.1
tide version: 5.6.0
term: xterm-256color
os: Linux Mint 21.2 Cinnamon
terminal emulator: Alacritty
fish startup: 982.49 millis
fisher plugins: jorgebucaran/fisher edc/bass ilancosman/tide@v5

Additional context

IlanCosman commented 1 year ago

Do you have git in your prompt items? What does echo $tide_left_prompt_items show you?

EDIT: Also, your fish startup time is insanely long. You should try to limit the stuff you're running on startup, because that will improve your Tide performance.

mukul98s commented 1 year ago

echo $tide_left_prompt_items

image

IlanCosman commented 1 year ago

Could you run _tide_item_git 2>/dev/null in that directory? This is indeed very strange.

mukul98s commented 1 year ago

Yes. I'm able to get the current git branch. Here is the screenshot. image

mukul98s commented 12 months ago

@IlanCosman Any update over this issue?

rexhinvo-elkjop commented 11 months ago

I had the same issue, i update my git version and after that it started working immidiately. I am running git version 2.42.0

mukul98s commented 11 months ago

@rexhinvo-elkjop My git version is also 2.42.0 but still it's not working

bchox commented 9 months ago

same issue here. _tide_item_git 2>/dev/null also shows the branch for me and item is activated

git version 2.43.0

fish version: 3.6.1 tide version: 6.0.1 term: xterm-kitty os: Archlinux terminal emulator: Kitty fish startup: 10.65 millis fisher plugins: jorgebucaran/fisher ilancosman/tide@v6