Navigation without `cd` has broken suggestions.
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- macos, zsh
- Domain
- cli
Research direction
No source file or test is identified. First reproduce the issue in Warp's global terminal by navigating with a path such as ~/anything without cd, then compare it with the equivalent cd command; done means path navigation produces the same correct suggestions as the cd form.
Written by the indexing model from the issue text.
Description
Discord username (optional)
itswilsonhou
Describe the bug
Navigating between folders without cd has broken autocomplete / suggestions.
E.g:
~/Documents/lowercase -> this will show either 'No suggestions' or incorrect suggestions
cd ~/Documents/lowercase -> this will show correct suggestions
To reproduce
-
Open warp's global terminal (with the global hotkey).
-
Try to navigate to any folder with
~/anything-> autocomplete / suggestions should be broken.
Expected behavior
I expect suggestions to come up instead of just saying 'No suggestions' or worse, incorrect suggestions.
Screenshots
Screenshot of 'No suggestions' when there should be suggestions.
Screenshot of nonsensical / wrong suggestions.
i don't even know what to say to this one^ 😅
Screenshot of correct suggestions when using cd explicitly
Operating system
MacOS
Operating system and version
Sonoma 14.0 (23A344)
Shell Version
zsh 5.9 (x86_64-apple-darwin23.0)
Current Warp version
v0.2024.03.12.08.02.stable_01
Regression
Yes, this bug started recently or with X Warp version.
Recent working Warp date
18/3/2024 ? (issue first experienced today: 19/3/2024), AEST timezone.
Additional context
Using oh-my-zsh if that helps. Very vanilla .zshrc file consisting of something like this:
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi
export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME="powerlevel10k/powerlevel10k"
plugins=(git zsh-syntax-highlighting zsh-autosuggestions)
source $ZSH/oh-my-zsh.sh
PATH="/usr/local/bin:$PATH:/opt/homebrew/bin"
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
alias v=nvim
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
# bun completions
[ -s "/Users/wilsonhou/.bun/_bun" ] && source "/Users/wilsonhou/.bun/_bun"
export BUN_INSTALL="/Users/wilsonhou/.bun"
export PATH="$BUN_INSTALL/bin:$PATH"
export PATH="/usr/local/opt/python@3.11/bin:$PATH"
alias pn=pnpm
alias pni="pnpm install"
alias pna="pnpm add"
alias pnd="pnpm run dev"
alias pnx="pnpm dlx"
alias code="cursor"
alias gcm="git commit -m"
alias ci="code-insiders"
alias vim="nvim"
# pnpm
export PNPM_HOME="/Users/wilsonhou/Library/pnpm"
case ":$PATH:" in
*":$PNPM_HOME:"*) ;;
*) export PATH="$PNPM_HOME:$PATH" ;;
esac
# pnpm end
Does this block you from using Warp daily?
Yes, this issue prevents me from using Warp daily.
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:b9d78064-c89e-4973-b153-5178a31ee54e
None
- Dominant language
- Rust
- Stars
- 65.1k
- Forks
- 5.6k
- PR merge metrics
- PR metrics pending
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from warpdotdev/warp
-
area:agent area:window-tabs-panes enhancement needs-info os:mac repro:high triaged
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
warpdotdev/warp#15768 · 3 comments · 1 reaction ·
-
bug factory-auto-implement factory:revops-factory os:mac ready-to-implement repro:high triaged warp:auto-triage-review
Difficulty 1/5 Under an hour Newbie friendliness 90/100
warpdotdev/warp#15697 · 2 comments ·
-
area:editor-notebooks bug repro:high triaged warp:auto-triage-review warp:tracking
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
warpdotdev/warp#13949 · 3 comments ·
-
markdown_parser: unclosed `<u>` markers pair via the emphasis algorithm and delete surrounding text Openarea:editor-notebooks bug ready-to-implement repro:high triaged warp:auto-triage-review
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
warpdotdev/warp#12863 · 2 comments ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
warpdotdev/warp#11969 · 2 comments ·
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
kwakseongjae/auto-hwp#319 ·
-
area:cli bug filter-quality good first issue priority:medium
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
bevyengine/bevy#25861 ·
-
comp-datalake
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/ClickHouse#121222 ·
-
enhancement remote
Difficulty 2/5 1-3 hours Newbie friendliness 68/100