Jari Aalto schreef:
~/.wcd/
I agree. It would be cleaner. But I don't like it that the backward
compatibility is broken. Wcd has been backward compatible since the
start, that is over 12 years.
I don't think there would be compatibility issues:
- IF there is WCDHOME use it
- IF there is ~/.treedata.wcd file, use old behavior
- ELSE use new scheme, where data is put under ~/.wcd/
New format would appear only for new users. Or, if people prefer, they
could migrate manually as instructed in "to be" manual page:
mkdir ~/.wcd/
mv ~/.[a-z]*.wcd ~/.wcd/
Jari
People who use an old version of wcd have a problem if they want to jump
to folders of people who use the new version. Old wcd will still look
for ~/.treedata.wcd of other user. He may be reading an obsolete file it
does exist, or find no file at all. This is an issue.
New wcd should first check in ~/.wcd/ and then in ~/ of other user.
Assuming that if both files exist the other user probably uses the new
wcd. For new wcd users there is no issue.
Erwin