Giter Site home page Giter Site logo

Comments (7)

notwaldorf avatar notwaldorf commented on July 28, 2024 6

Oh yeah you're totally right. I use the space as delimiters. I'm gonna add a "depth" argument soon so that you can just use the parent director you instead

from tiny-care-terminal.

notwaldorf avatar notwaldorf commented on July 28, 2024 1

Well, that's not the problem, this is the problem: https://github.com/notwaldorf/tiny-care-terminal/blob/master/standup-helper.sh#L33

the shell script takes "everything that wasn't passed to -d or -m" to be directory names, and because they're space separated, it's fine. If they're separated by a different delimiter, I have to do a bash hack to get around that (like split the string. everything in bash is a hack 😅)

from tiny-care-terminal.

notwaldorf avatar notwaldorf commented on July 28, 2024

[email protected] now has a TTC_REPOS_DEPTH argument, so I'm going to optimistically mark this as closed (otherwise i'd have to switch from spaces to commas and break all the existing users 😭)

from tiny-care-terminal.

wilhelmklopp avatar wilhelmklopp commented on July 28, 2024

Thanks, I think that will help a lot of people!

In my case, the space is quite early on in the path. It looks something like this:
/home/wilhelm/Google Drive/folder/folder/folder/folder/actualProject

So I think it would take forever to check every folder in my Google Drive for .git directories.

If a character that's typically not allowed in paths was to be the delimiter, would that still break things for existing users? Maybe a character like |

from tiny-care-terminal.

notwaldorf avatar notwaldorf commented on July 28, 2024

Oh! Good news: this is only broken because I wrote dumb code to pass to the internal bash script, and the instructions actually tell you to use commas and not spaces.

from tiny-care-terminal.

wilhelmklopp avatar wilhelmklopp commented on July 28, 2024

ooo 😁

To clarify: I meant keep commas as the delimiter in the environment variable, but use a more sepcial character to split here:

repos: (process.env.TTC_REPOS || '~/Code').replace(/,/g, ' '),

from tiny-care-terminal.

kzap avatar kzap commented on July 28, 2024

same problem here, a work around was i made a symlink that had no spaces link to my directory with spaces and used that symlink in the TTC_REPOS

from tiny-care-terminal.

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.