technicalpickles/homesick — pull request #51 by trobrock (2013-09-18 16:25:28+00:00)
Title: Files with parentheses in filename fail to symlink/track

I want to track my Sublime Text keybindings. They're in `~/.config/sublime-text-3/Packages/User/Default (Linux).sublime-keymap`. When you try to `homesick track` that file, you get:

sh: -c: line 0: syntax error near unexpected token `('
sh: -c: line 0: `mv /home/cpence/.config/sublime-text-3/Packages/User/Default (Linux).sublime-keymap /home/cpence/.homesick/repos/dotfiles/home/.config/sublime-text-3/Packages/User/Default (Linux).sublime-keymap'
conflict /home/cpence/.config/sublime-text-3/Packages/User/Default (Linux).sublime-keymap exists
Overwrite /home/cpence/.config/sublime-text-3/Packages/User/Default (Linux).sublime-keymap? (enter "h" for help) [Ynaqdh]

And if you copy it yourself and then try to `homesick symlink`, you get:

symlink /home/cpence/.homesick/repos/dotfiles/home/.config/sublime-text-3/Packages/User/Default (Linux).sublime-keymap to /home/cpence/.config/sublime-text-3/Packages/User/Default (Linux).sublime-keymap
sh: -c: line 0: syntax error near unexpected token `('
sh: -c: line 0: `ln -s /home/cpence/.homesick/repos/dotfiles/home/.config/sublime-text-3/Packages/User/Default (Linux).sublime-keymap /home/cpence/.config/sublime-text-3/Packages/User/Default (Linux).sublime-keymap'

Looks like some of the embedded calls to `sh` aren't quoting their arguments properly, or aren't escaping parentheses.