This commit introduces a complete battery management solution by integrating TLP into the setup scripts and providing convenient control functions in Zsh.
Key changes:
- Adds `eco-batt` and `full-batt` functions to `.zshrc` to allow the user to easily switch between battery-saving (80%) and full-charge (100%) modes.
- Modifies `modules/apps.sh` to automatically install the `tlp` package.
- Adds logic to `modules/apps.sh` to enable and start the `tlp.service` so that power management is active on boot.
- Updates the `zsh-help` function to include documentation for the new battery management commands.
This commit refactors the Zsh help function based on user feedback.
The following changes have been made:
- The function `zsh_ayuda` has been renamed to `zsh_help`.
- The alias `ayuda` has been updated to `zsh-help`.
- The help text within the function has been updated to reflect the new command name.
This commit introduces several new features and improvements:
- **Adds Development Tools to `apps.sh`:** The `apps.sh` module now installs essential development tools, including `python`, `pip`, `nodejs`, `npm`, `uv`, and `nvm`.
- **Implements `.zshrc.local` for Private Variables:**
- A `.zshrc.local.example` file has been added to serve as a template for users to securely store their private environment variables, such as API keys.
- The main `.zshrc` file now sources `.zshrc.local` if it exists.
- **Adds AI Aliases to `.zshrc`:** A new section has been added to `.zshrc` with example aliases for interacting with command-line AI tools.
- **Improves `.zshrc` Documentation:** The `.zshrc` file has been thoroughly documented with comments in Spanish, explaining the purpose of each section. The title has also been updated and professionalized.
- **Fixes a Regression:** This commit restores the `ytm`, `ytv`, `ytls`, and SSH agent functions in `.zshrc` that were accidentally removed in a previous step.
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: Marco Gallegos <marco.gallegos@outlook.com>