gtrabanco / dotSloth

Lazy bash for lazy people. Have maintainable dotfiles with .Sloth.
Other
16 stars 1 forks source link

[BUG] dot core loader --modify #227

Open gtrabanco opened 6 months ago

gtrabanco commented 6 months ago

About the issue

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