Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ghq/peco doesn't work #4882

Open
1 task done
windhorn opened this issue May 7, 2024 · 2 comments
Open
1 task done

ghq/peco doesn't work #4882

windhorn opened this issue May 7, 2024 · 2 comments
Labels
Bugs Bugs, Hangs, Crash, and Freezes

Comments

@windhorn
Copy link

windhorn commented May 7, 2024

Dupe Check

Describe the bug

ghq/peco doesn't work

To reproduce

brew install ghq
brew install peco

Add ~/.zshrc

function peco-src () {
  local selected_dir=$(ghq list -p | peco --query "$LBUFFER")
  if [ -n "$selected_dir" ]; then
    BUFFER="cd ${selected_dir}"
    zle accept-line
  fi
  zle clear-screen
}
zle -N peco-src
bindkey '^]' peco-src

Expected behavior

I want to be able to move github repositories using ghq/peco

Screenshots

No response

Operating system

MacOS

Operating system and version

14.4.1(23E224)

Shell Version

zsh 5.9 (x86_64-apple-darwin23.0)

Current Warp version

v0.2024.04.30.08.02.stable_01

Regression

Yes, this bug started recently or with an X Warp version

Recent working Warp date

No response

Additional context

No response

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

@windhorn windhorn added the Bugs Bugs, Hangs, Crash, and Freezes label May 7, 2024
@davidmelvin
Copy link

Hi @windhorn , what error do you get when trying to use ghq and peco in this way? Does it work without the bindkey setup? Note #537

@dannyneira
Copy link
Member

@windhorn any more info you can provide on the error you see? Also please note if those apps require bindkey to work as noted #537

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bugs Bugs, Hangs, Crash, and Freezes
Projects
None yet
Development

No branches or pull requests

3 participants