briefcase icon indicating copy to clipboard operation
briefcase copied to clipboard

[Feature Request] Track original path instead of assuming ~

Open abloom opened this issue 12 years ago • 5 comments

I would like to track files like ~/.ssh/config but Briefcase ignores the path and assumes everything is directly in the users home directory.

abloom avatar Apr 02 '12 04:04 abloom

I'll have to think about how to implement this. Right now Briefcase just assumes that anything in the dotfiles directory will be symlinked to from the root of the user's home directory. To handle files at arbitrary paths, we'd have to store some metadata about each file in another location.

jim avatar Apr 14 '12 16:04 jim

why not just store them in your dotfile dir with relative paths?

~/.ssh/known_hosts -> ~/.dotfiles/ssh/known_hosts

abloom avatar Apr 15 '12 02:04 abloom

:+1: But I would like to propose not to change initial path, just copy it "under":

~/.ssh/known_hosts -> ~/.dotfiles/.ssh/known_hosts

ixti avatar Sep 14 '12 23:09 ixti

:+1: I just tried to put my .ssh/config file into briefcase and was surprised at the results...

RadicalZephyr avatar Apr 11 '14 01:04 RadicalZephyr

Relative paths are important I believe too to prevent name collisions for similarly named files (e.g., .ssh/config vs .aws/config). Seems like just keeping paths relative is good solution as mentioned above. Also, if one tries to go outside their home directory, then I guess could have special name like /foo/bar/.somedotfile -> ~/.dotfiles/root/foo/bar/somedotfile.

JDFagan avatar May 10 '16 21:05 JDFagan