-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
Milestone
Description
First, thanks a lot for fish
. I just discovered it, and I wonder why did I waste so much time with zsh
.
Now for the problem: completion for ./gradlew
(the Gradle wrapper) doesn't work by default.
To reproduce:
- open a new fish terminal
- go to the root directory of a Gradle project
- type
./gradlew --<press TAB>
- note that no completions are shown
The problem can be reproduced with a clean config ( sh -c 'env HOME=$(mktemp -d) XDG_CONFIG_HOME= fish'
).
Workaround:
- type
gradle --<press TAB>
(this will show completions and also load the completions forgradlew
) - now
./gradlew --<press TAB>
shows completions
Please fix this, as the workaround is very inconvenient, and it can't be automated (I need to do it every time I open a new terminal).
Probably there needs to be a dedicated file for gradlew.fish
in /usr/share/fish/completions
that wraps the gradle
completions.
Background information:
fish --version
:fish, version 3.6.1
uname -a
:Linux cvmocanu-thinkpad 6.2.0-37-generic #38~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 2 18:01:13 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
- Xubuntu 22.04.3 LTS
- Xfce 4.16
echo $TERM
:xterm-256color
xfce4-terminal --version
:xfce4-terminal 0.8.10 (Xfce 4.16)