Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant