Skip to content
This repository was archived by the owner on Jun 3, 2025. It is now read-only.

Install not working if path has spaces #411

@nikomn

Description

@nikomn

On Linux installation with curl -0 https://raw.githubusercontent.com/testmycode/tmc-cli/master/scripts/install.sh | bash does not seem to work correctly if the path has spaces. The alias in .tmc-autocomplete.sh is generated in a format that does not work. The spaces need to be escaped with backslash when setting up an alias, even when using quotations:

~ > alias tmctest="/home/test/Documents/Courses/Securing software/tmc"
~ > tmctest
bash: /home/test/Documents/Courses/Securing: No such file or directory
~ > alias tmctest="/home/test/Documents/Courses/Securing\ software/tmc"
~ > tmctest
Usage: tmc [args] COMMAND [command-args]

TMC commands:
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions