Skip to content

completion for path should trigger for relative paths #6001

@chbiel

Description

@chbiel

fish version: 3.0.2
Terminal: xterm-256color
Ubuntu 19

Hi,
I currently try to get more familiar with fish completions. My goal to achieve:
I have a bash script /home/auser/myscript that can take arguments and options like ./myscript dosomething -s or ./myscript dosomethingelse

I would like to create fish autocompletions for that script.

I assumed that complete -p /home/auser/myscript -f -a 'dosomething dosomethingelse' -d "Some comment" should do this but I do not get autocomplete options when typing ./myscript <TAB> or /home/auser/myscript <TAB>.

Do I missunderstand something here?

Thanks in advance for your help.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions