brianp / muxed

Another TMUX project manager
MIT License
59 stars 3 forks source link

Quoting root dirs causes `~/` to stop working #21

Closed brianp closed 8 years ago

brianp commented 8 years ago

The unix command cd "~/" does not work. When double quoted you have to use variables such as cd "$HOME".

This isn't an ideal user experience. I want to be able to define root: ~/. A solution would be to handle root values with spaces differently then without spaces, although this means root: ~/Dir With Space/project would still fail. Maybe converting any usage of ~/ behind the scenes to $HOME?

Regression from #11

Example broken config:

root: "~/"
windows:
  - editor:
      layout: "main-vertical"
      panes: ["vi", "ls -alh"]"