Skip to content
This repository has been archived by the owner on Jan 8, 2025. It is now read-only.

Install not working if path has spaces #411

Open
nikomn opened this issue Mar 17, 2021 · 0 comments
Open

Install not working if path has spaces #411

nikomn opened this issue Mar 17, 2021 · 0 comments

Comments

@nikomn
Copy link

nikomn commented Mar 17, 2021

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:
...
@nikomn nikomn changed the title Install Install not working if path has spaces Mar 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant