Skip to content

[BUG] dot core loader --modify #227

@gtrabanco

Description

@gtrabanco

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions