tldr-c-client icon indicating copy to clipboard operation
tldr-c-client copied to clipboard

`tldr` or "tldr fish autocomplete" call the shell alias of my terminal if it needs to use the binary find

Open stephane-archer opened this issue 1 year ago • 0 comments
trafficstars

Reproduction Rate

everytime

Steps to Reproduce

I'm using fish shell everytime i get some kind of autocompletion with fish for tldr (it only happens with this program here is the output)


tldr tsUse fd                                                                                                                                      (base)
usage: basename string [suffix]
       basename [-a] [-s suffix] string [...]
Use fd
usage: basename string [suffix]
       basename [-a] [-s suffix] string [...]


ts

Add timestamps to every line from `stdin`.
More information: <https://joeyh.name/code/moreutils/>.

- Add a timestamp to the beginning of each line:
    command | ts

- Add timestamps with microsecond precision:
    command | ts "%b %d %H:%M:%.S"

- Add [i]ncremental timestamps with microsecond precision, starting from zero:
    command | ts -i "%H:%M:%.S"

- Convert existing timestamps in a text file (eg. a log file) into [r]elative format:
    cat path/to/file | ts -r

Result

Use fd

The Use fd come from the fact that I have disable find for my interactive session to force me to learn other tools, so behind the scene tldr or "tldr fish autocomplete" use the binary find and use the shell aliases to do so, witch is not the appropriate behavior because the shell alias can do anything.

Expected Result

I expect tldr or "tldr fish autocomplete" to not call the shell alias of my terminal if it needs to use the binary find

stephane-archer avatar Sep 18 '24 17:09 stephane-archer