Skip to content
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

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

Open
stephane-archer opened this issue Sep 18, 2024 · 0 comments

Comments

@stephane-archer
Copy link

stephane-archer commented Sep 18, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant