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

[BUG] dot core loader --modify #227

Open
2 of 4 tasks
gtrabanco opened this issue Apr 23, 2024 · 0 comments
Open
2 of 4 tasks

[BUG] dot core loader --modify #227

gtrabanco opened this issue Apr 23, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@gtrabanco
Copy link
Owner

About the issue

  • I know how to fix.
  • I will provide a fix later in a PR.
  • This is minor issue. Sloth can work properly but give some errors.
  • This is a big issue. Sloth can not work.

How to reproduce

dot core loader --modify

Expected

Expect to add in .bashrc file:

###### .Sloth Variables ######
export DOTFILES_PATH="${HOME}/.dotfiles"
export SLOTH_PATH="${DOTFILES_PATH}/modules/sloth"
export DOTLY_PATH="${SLOTH_PATH:-}"
###### End of .Sloth Variables ######

Issue

But instead it writes:

###### .Sloth Variables ######
export DOTFILES_PATH="${HOME\}/.dotfiles"
export SLOTH_PATH="${DOTFILES_PATH\}/modules/sloth"
export DOTLY_PATH="${SLOTH_PATH:-}"
###### End of .Sloth Variables ######

Workaround

Delete the backslash \

Other

@gtrabanco gtrabanco added the bug Something isn't working label Apr 23, 2024
@gtrabanco gtrabanco self-assigned this Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant