Code Monkey home page Code Monkey logo

Comments (6)

chenrui333 avatar chenrui333 commented on July 23, 2024 1

adopted like that SHELL=zsh basti completion, and it fixed my issue. thanks!

from basti.

BohdanPetryshyn avatar BohdanPetryshyn commented on July 23, 2024

Hey @chenrui333, thank you for your work on the homebrew formula! ❤️

Basti uses the yargs library which doesn't expect any additional arguments for the completion command. So the following commands will return exactly the same output:

  1. basti completion zsh
  2. basti completion anything
  3. basti completion

Can the supported basti completion command be used in brew instead of removing the recommendations?

from basti.

chenrui333 avatar chenrui333 commented on July 23, 2024

Can the supported basti completion command be used in brew instead of removing the recommendations?

it simply does not work, based on what I see, there is not much use of recommendCommands

from basti.

BohdanPetryshyn avatar BohdanPetryshyn commented on July 23, 2024

Just to clarify, do you mean that basti completion doesn't work or basti completion zsh doesn't work?

The value of the recommendCommands functionality is questionable indeed so if removing it will help in the Homebrew formula creation, we can do this.

from basti.

chenrui333 avatar chenrui333 commented on July 23, 2024

Just to clarify, do you mean that basti completion doesn't work or basti completion zsh doesn't work?

if you do SHELL=zsh basti completion zsh, that does not work.

And SHELL=zsh basti completion bash still outputs bash completion, which is wrong

The value of the recommendCommands functionality is questionable indeed so if removing it will help in the Homebrew formula creation, we can do this.

yeah, let's remove that, I dont see any values of it. People can either do help or just tldr to see the manual

from basti.

BohdanPetryshyn avatar BohdanPetryshyn commented on July 23, 2024

According to the yargs docs, the completion command doesn't expect any additional arguments. I can see that the output of the basti completion command changes according to the SHELL env variable:

  1. SHELL=zsh basti completion - outputs completion for zsh
  2. SHELL=bash basti completion - outputs completion for bash

Please, note the absence of any arguments after the completion command. Can the command be used without additional arguments like zsh or bash in Homebrew?

from basti.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.