-
-
Notifications
You must be signed in to change notification settings - Fork 25.7k
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
gccd doesn't work if no output specified #12023
Comments
Hi Luka, thanks for the report. I can't actually reproduce this, could you run the same command again with trace enabled and post the output? functions -t gccd
gccd git@github.com:ohmyzsh/ohmyzsh.git |
Here's the output
And here's with an additional argument
|
@mcornella indeed, I can reproduce. The difference is |
Indeed that was the issue. Fixed in b6bb133. |
Describe the bug
According to the comments in the
gccd
function,gccd git@github.com:ohmyzsh/ohmyzsh.git
should work, but I get this:I'm pretty sure it was introduced in this commit.
Steps to reproduce
git
gccd git@github.com:ohmyzsh/ohmyzsh.git
Expected behavior
I expect to be positioned in the cloned repository.
Screenshots and recordings
No response
OS / Linux distribution
Linux lapitopi 6.5.9-arch2-1 #1 SMP PREEMPT_DYNAMIC Thu, 26 Oct 2023 00:52:20 +0000 x86_64 GNU/Linux
Zsh version
5.9
Terminal emulator
Kitty, guake
If using WSL on Windows, which version of WSL
None
Additional context
I tried debugging it, but I'm not very well versed in the cipher called
zsh
so I'm opening up an issue instead.The text was updated successfully, but these errors were encountered: