mirror of
https://github.com/marcogll/omarchy_setup.git
synced 2026-01-13 21:35:16 +00:00
feat: add dev tools, AI aliases, and improve zshrc documentation
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.
This commit is contained in:
@@ -125,16 +125,26 @@ aur_install_packages() {
|
||||
return 1
|
||||
fi
|
||||
|
||||
local -a base_flags=(--noconfirm --needed --noeditmenu --nodiffmenu --nocleanmenu)
|
||||
local -a base_flags=(--noconfirm --needed)
|
||||
AUR_HELPER_CMD="$helper"
|
||||
local status=0
|
||||
case "$helper" in
|
||||
yay)
|
||||
"$helper" -S "${base_flags[@]}" --answerdiff None --answerclean All --answeredit None --mflags "--noconfirm" --cleanafter "${packages[@]}"
|
||||
"$helper" -S "${base_flags[@]}" \
|
||||
--answerdiff None \
|
||||
--answerclean All \
|
||||
--answeredit None \
|
||||
--mflags "--noconfirm" \
|
||||
--cleanafter \
|
||||
"${packages[@]}"
|
||||
status=$?
|
||||
;;
|
||||
paru)
|
||||
"$helper" -S "${base_flags[@]}" --skipreview --cleanafter --mflags "--noconfirm" "${packages[@]}"
|
||||
"$helper" -S "${base_flags[@]}" \
|
||||
--skipreview \
|
||||
--cleanafter \
|
||||
--mflags "--noconfirm" \
|
||||
"${packages[@]}"
|
||||
status=$?
|
||||
;;
|
||||
*)
|
||||
|
||||
Reference in New Issue
Block a user