warpdotdev / Warp

Warp is a modern, Rust-based terminal with AI built in so you and your team can build great software, faster.
https://warp.dev
Other
21.31k stars 371 forks source link

Displayed terminal path updates super slowly upon changing directory #3933

Open tdsone opened 11 months ago

tdsone commented 11 months ago

Discord username (optional)

No response

Describe the bug

Given, I'm in this folder:

image

When I cd one level up, it takes about a second for the displayed path to update to

image

and it's driving me nuts haha. I'm on Mac and don't have this issue with any other terminal I use.

To reproduce

Open Terminal, change folders and track how much time it takes for the displayed path to update.

Expected behavior

No response

Screenshots

No response

Operating system

MacOS

Operating system and version

13.4.1

Shell Version

No response

Current Warp version

v0.2023.11.28.08.02.stable_00

Regression

No, this bug or issue has existed throughout my experience using Warp

Recent working Warp date

No response

Additional context

No response

Does this block you from using Warp daily?

No

Is this a Warp specific issue? (i.e. does it happen in Terminal, iTerm, Kitty, etc.)

Yes, this I confirmed this only happens in Warp, not other terminals.

Warp Internal (ignore): linear-label:b8107fdf-ba31-488d-b103-d271c89cac3e

None

dannyneira commented 11 months ago

Hey @tdsone Sorry to hear about this delay, does the parent folder also contain many sub-folders? ( if so this may be the reason for the delay as Warp has to scan the directories for completions )

Also, make sure you're not using one of the unsupported plugins tools as this may also be causing issues with the delay. You can check whether it’s something in your dotfiles by setting up clean configs: Run echo 'ZDOTDIR=/' > ~/.zshenv This forces Zsh to run with zero configs. You can disable parts of your dotfiles just for Warp by using this conditional statement:

# Bash and Zsh
if [[ $TERM_PROGRAM != "WarpTerminal" ]]; then
# > What you want to disable here <
fi

We have a list of incompatible tools here: https://docs.warp.dev/help/known-issues#list-of-incompatible-tools