You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we assume that the users source configuration directory is under source control ($HOME/.local/etc) then we can keep track of what global version of files have been installed. This would allow us to keep track of what files have been removed since the last configuration install.
So for example when calling the dots install command with no given path we could write a file called config-version to $XDG_CONFIG_HOME. Then during the next install we could look at that version and compare it with the current version of the source configuration files. We could then see what files have been removed and remove those from the installed dotfiles directory.
The text was updated successfully, but these errors were encountered:
If we assume that the users source configuration directory is under source control (
$HOME/.local/etc
) then we can keep track of what global version of files have been installed. This would allow us to keep track of what files have been removed since the last configuration install.So for example when calling the
dots install
command with no given path we could write a file calledconfig-version
to$XDG_CONFIG_HOME
. Then during the next install we could look at that version and compare it with the current version of the source configuration files. We could then see what files have been removed and remove those from the installed dotfiles directory.The text was updated successfully, but these errors were encountered: