Closed taranlu-houzz closed 1 year ago
It's still unclear what the team will do for this and also the ETA after flushing out the approach. Apologies that this is currently missing!
This feature is very important, I use it all the time to add parameters after aliases. For example doing something like gco branch-name
for git checkout branch-name
similarly not working with zsh-abbr
too, afaict.
Also, they sometimes don't expand at all, seems to be the case mostly when parameters are added after the abbr like:
π I'm also missing this feature.
Just to reiterate, expansion does work after enter, but not after space.
I have this abbreviation gcb
to create a branch, so it expands to git checkout -b
:
abbr --add --global -- gcb 'git checkout -b'
It expands without parameter (after typing enter), but this is useless:
~ β― git checkout -b
fatal: not a git repository (or any of the parent directories): .git
With the (very important) parameter it does not expand:
~ β― gcb my_new_branch
fish: Unknown command: gcb
I just found out that if you reinit the config by running fish
in a tab, the expansion with a parameter added works afterwards.
@pat-s that seems to be because you are running plain fish
inside Warp. This way Warp cannot use it special powers.
I just found out that if you reinit the config by running
fish
in a tab, the expansion with a parameter added works afterwards.
Yeah, while this "works" in that abbreviations/autocompletions work again, it kinda negates a bit purpose for using Warp in the first place.
For my part, it's more important that I can use something similar to https://github.com/jhillyerd/plugin-git on Warp than it is that my "old ways" work 100%, but I can't seem to find an analog in Warp.
Any update on getting this fixed? Fish is basically broken without abbreviations working.
I have the same issue. The abbreviation doesn't expand whether I hit space or enter. It keeps saying "Unknown command"
This feature is most wanted and really hopes that it is in the plan : )
Has anyone encountered a workaround to be able to use jhillyerd/plugin-git
or something similar?
One way to work around it and get some of the functionality is to add in fish config
alias gb="git branch -vv"
You will need to add it manually for each alias. It won't expand in real time but the correct command will be executed, and autocomplete of warp will detect it correctly.
Not sure if adding one more vote helps, but yes, I want this, too, badly! I just wasted an hour figuring out what I have misconfigured that it doesn't work (after months of patient ignorance) and just found out in this thread that it's Warp that doesn't support it as it is supposed :( Pretty please, add this feature π
I've gone back to WezTerm for now until this is fixed. I didn't realize how much I rely on abbreviations...
On Wed, Feb 15, 2023, 12:48 a.m. Eryk NapieraΕa @.***> wrote:
Not sure if adding one more vote helps, but yes, I want this, too, badly! I just wasted an hour figuring out what I have misconfigured that it doesn't work (after months of patient ignorance) and just found out in this thread that it's Warp that doesn't support it as it is supposed :( Pretty please, add this feature π
β Reply to this email directly, view it on GitHub https://github.com/warpdotdev/Warp/issues/852#issuecomment-1430955818, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAK37GDGBQFNR5L7IEBIZG3WXSJ7TANCNFSM5SC2UPFQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>
This is a deal-breaker for me, as I use abbreviations regularly. Please address this. ππΎ
Hey Folks! this is being worked on and can be tracked on this feature request here: https://github.com/warpdotdev/Warp/issues/1895
Keeping the FR as it has more π 's. Closing as duplicate.
fwiw, abbreviations have been working for me out of the box. I first installed warp about a month ago, I think.
Yes, that issue has been solved for over 10 months now https://github.com/warpdotdev/Warp/issues/1895
Describe the bug
To Reproduce
fish
abbr -a -U -- gfa 'git fetch --all'
gfa
inwarp
, then pressspace
(the abbreviation does not get expanded)enter
(the command is run, and the abbreviation is expanded)Expected behaviour
Screenshots
No response
Operating System
MacOS
OS Version
10.15.7
Additional context
No response