The punsctl utility allows users to manage multiple namespaces (or profiles) for various tool configurations within a single POSIX user account.
This enables users to maintain separate configurations for tools like ~/.ssh, ~/.gitconfig, ~/.gnupg, ~/.config, ~/.config/nvim, and others, all under the same user account.
With punsctl, users can easily create, delete, activate, or deactivate namespaces without requiring additional system permissions, providing a flexible way to manage different environments or workflows.
pipx install punsctlpunsctl <options>
options:
-h Help menu
-r Root path (Default: ~/.ns)
-s Symlink path (Default: ~/)
-l List namespaces
-n <namespace> Create namespace
-x <namespace> Delete namespace
-a <namespace> Activate namespace
-d Deactivate namespacespunsctl -lpunsctl -p <root_path> -lpunsctl -n <namespace>punsctl -p <root_path> -n <namespace>punsctl -x <namespace>punsctl -p <root_path> -x <namespace>punsctl -a <namespace>punsctl -p <root_path> -a <namespace>punsctl -p <root_path> -s <symlink_path> -a <namespace>punsctl -d