Giter VIP home page Giter VIP logo

Comments (8)

fearlessgeekmedia avatar fearlessgeekmedia commented on June 3, 2024 1

Oh, ok. Well I'm not sure why I was getting the syntax error then. But it seems fine when I source it from a bash script, at least.

from bash-tui-toolkit.

timo-reymann avatar timo-reymann commented on June 3, 2024

Cam you provide a bit more information please?

  • bash version
  • which version did you download (e. g. providing used command)
  • run set +x before sourcing and provide output

from bash-tui-toolkit.

fearlessgeekmedia avatar fearlessgeekmedia commented on June 3, 2024

I downloaded the latest version.

I use ArcoLinux, a rolling release version based on Arch, so it should be the latest version of Bash. I update every couple of days.

I'll try setting +x. Think I had done that but I'll double check.

from bash-tui-toolkit.

fearlessgeekmedia avatar fearlessgeekmedia commented on June 3, 2024

Bash 5.1.16

from bash-tui-toolkit.

fearlessgeekmedia avatar fearlessgeekmedia commented on June 3, 2024

So even after running set +x, I still get this syntax error.

from bash-tui-toolkit.

fearlessgeekmedia avatar fearlessgeekmedia commented on June 3, 2024

OK, I think the issue was I was testing this without actually using it in a bash script. It seems to work fine when sourcing it from a bash script, which is clearly the intention. I just thought I could test this straight from the bash prompt, and it appears that's not the case.

But sourcing it from within a bash script, no problems. :)

from bash-tui-toolkit.

timo-reymann avatar timo-reymann commented on June 3, 2024

So even after running set +x, I still get this syntax error.

That's just for more verbose output :)

OK, I think the issue was I was testing this without actually using it in a bash script. It seems to work fine when sourcing it from a bash script, which is clearly the intention. I just thought I could test this straight from the bash prompt, and it appears that's not the case.

That should work though, and also works on my machine(s) ™️

from bash-tui-toolkit.

timo-reymann avatar timo-reymann commented on June 3, 2024

Alrighty than if something comes up, feel free to create an issue and I will have a look.

Thanks for using it! :)

from bash-tui-toolkit.

Related Issues (3)

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.