Command Reference¶
Path Management¶
profs add¶
Add a path to be managed.
| Flag | Description |
|---|---|
--profile |
Profile name (required for first path) |
Examples:
# First path (creates profile)
profs add ~/.gitconfig --profile work
# Subsequent paths
profs add ~/.ssh
profs add ~/.kube
Aliases: profs add-path
profs remove¶
Remove a path from management.
Restores the original path with current profile's content.
Aliases: profs remove-path
Profile Management¶
profs add-profile¶
Create a new profile.
| Flag | Description |
|---|---|
--copy-existing |
Copy current profile's content |
Examples:
# Empty profile
profs add-profile personal
# Copy current content
profs add-profile backup --copy-existing
profs remove-profile¶
Delete a profile.
Danger
This permanently deletes all content in the profile's directories.
profs set¶
Switch to a profile.
Updates all symlinks to point to the specified profile.
profs list¶
List all available profiles.
Aliases: profs list-profiles
Status Commands¶
profs status¶
Show current profile and path status.
Output:
profs status-profile¶
Show only the current profile name.
profs status-full¶
Show detailed status with all profiles.
profs status-config¶
Show raw JSON configuration.
Diagnostics¶
profs doctor¶
Check for configuration issues.
Finds: - Broken symlinks - Missing profile directories - Inconsistent state across paths
Maintenance¶
profs reset¶
Remove all profs configuration.
Warning
This clears the profs config file. Files remain in .profs directories.
profs migrate-config-dir¶
Migrate from legacy config location.
Moves ~/.profs to ~/.config/gigurra/profs.
Shell Completion¶
profs completion¶
Generate shell completion scripts.
Setup examples:
# Bash
profs completion bash >> ~/.bashrc
# Zsh
profs completion zsh >> ~/.zshrc
# Fish
profs completion fish > ~/.config/fish/completions/profs.fish
Global Flags¶
| Flag | Description |
|---|---|
-h, --help |
Help for any command |