Getting Started¶
Installation¶
Using Go¶
Using mise¶
Verify Installation¶
First-Time Setup¶
1. Add Your First Path¶
Pick a configuration file you want to manage:
This:
- Creates ~/.gitconfig.profs/work directory
- Moves your current .gitconfig into it
- Creates a symlink ~/.gitconfig -> ~/.gitconfig.profs/work
2. Add More Paths¶
Since you already have a profile (work), these are added to it automatically.
3. Create Another Profile¶
This creates empty personal directories for all managed paths:
- ~/.gitconfig.profs/personal
- ~/.ssh.profs/personal
- ~/.kube.profs/personal
- ~/.config/gcloud.profs/personal
4. Populate the New Profile¶
You can either:
Copy from existing profile:
Or manually set up:
# Switch to personal
profs set personal
# Edit configs directly (they're now pointing to personal profile)
vim ~/.gitconfig
ssh-keygen -f ~/.ssh/id_ed25519
5. Switch Between Profiles¶
6. Check Status¶
Output:
Profile: work
~/.gitconfig -> ~/.gitconfig.profs/work [ok]
~/.ssh -> ~/.ssh.profs/work [ok]
~/.kube -> ~/.kube.profs/work [ok]
~/.config/gcloud -> ~/.config/gcloud.profs/work [ok]
Shell Completion¶
Enable tab completion for profile names:
Bash:
Zsh:
Fish:
Troubleshooting¶
Check for Issues¶
This finds: - Broken symlinks - Missing profile directories - Inconsistent state
View Full Status¶
Shows all profiles and their paths.
Reset Everything¶
If things go wrong:
Warning
This removes all profs configuration. Your actual files remain in the .profs directories.