-
Notifications
You must be signed in to change notification settings - Fork 13
Profiles
A profile is a way to keep dotfiles in different repos in the same machine. Say you have dotfiles that are personal and others that should only be for work and is on a private repo.
You could attempt to deploy it with tuckr, but you would either have to:
- make the private work repo a submodule and have tuckr dump every dotfile as one group
- make your work dotfiles part of your personal one (which might not be feasible)
So profiles essentially fix this by allowing you to change profiles.
Profiles are essentially just a dotfiles
directory, the same as the one you've been using all along, but instead it is suffixed.
So it follows this structure: dotfiles_<profile>
If you have a dotfiles_work
directory in the lookup path, you can use work as a profile like so
tuckr -p work status
And it will give you the status for dotfiles in this repo
If you're using the unsuffixed dotfiles
, no profile flag is needed. So you can consider that one your default
profile.
This command lists every profiles that are available in the machine
$ tuckr ls profiles