diff --git a/README.ai.md b/README.ai.md index 8d0e9d7..881747f 100644 --- a/README.ai.md +++ b/README.ai.md @@ -31,6 +31,15 @@ After importing, these boolean variables are available for distribution checks: `$alpine` - true/false for Alpine Linux
`$distro` - contains the detected distro name (e.g. "arch", "debian", "fedora"..) +> [!TIP] +> +> `$_sudo` variable is set, if the user is not root, and sudo exists on the system.
+> So you can just use this syntax: +> +> ```bash +> $_sudo make install +> ``` + Example usage: ```bash @@ -46,6 +55,10 @@ esac ### CORE FUNCTIONS +0.1 Permissions/sudo: + +--- + 1. Package Management: `_install pkg1 pkg2` - Installs packages using the correct package manager