Commit Graph

17 Commits

Author SHA1 Message Date
cb15f80042 Update README.md 2024-03-09 09:12:02 +01:00
4b6eb5734c revert d7e0a5ec4c
revert Update README.md
2024-03-09 09:09:28 +01:00
d7e0a5ec4c Update README.md 2024-03-09 09:08:51 +01:00
5562ae7986 Update zrep initialization to use ZREP_CONFIG variable for configuration file path. Prompt user for zrep installation directory if ZREP_CONFIG doesn't exist. Add source command for .zrep_addons in .zshrc if not present. Create or update .zrep_addons file with addon handling logic. Modify zrep_enable and zrep_disable functions to use ZREP_CONFIG variable. Update main function to call zrep_load_config. Ensure proper sourcing of .zrep_addons after enabling/disabling packages. Include necessary error handling and informative messages. - Sat, 09 Mar 2024 00:36:09 +0100 2024-03-09 00:36:09 +01:00
5f7c437701 Update zrep script with color definitions using associative array and refactor color usage in functions. Add functionality to display package-specific help from USAGE file. - Wed, 06 Mar 2024 18:33:14 +0100 2024-03-06 18:33:14 +01:00
e3ee9e49a9 Update zrep script:
- Commented out unused variables and echo statements.
- Added check to create installed.json if not exists.
- Improved jq command to update installed.json.
- Refactored zrep_list_installed_packages function.
- Refactored zrep_list_package function to concatenate package names.
- Updated zrep_install_package to use a temporary directory.
- Refactored zrep_enable and zrep_disable functions.
- Added zrep_parse_package_name function for package name parsing. - Mon, 04 Mar 2024 23:40:02 +0100
2024-03-04 23:40:02 +01:00
d1f2b04d5b Update zrep script:
- Added `zrep_main_version_string` function to display version string.
- Modified `zrep_remove_package` function to safely remove directories and update `installed.json`.
- Updated `zrep_help` function to include `enable` and `disable` commands.
- Minor formatting improvements and code cleanup. - Mon, 04 Mar 2024 22:36:49 +0100
2024-03-04 22:36:49 +01:00
469ff49206 Add zrep_enable and zrep_disable functions
- Added zrep_enable function to enable packages in zsh
- Added zrep_disable function to disable packages in zsh
- Updated zrep_help function to include enable and disable commands
- Updated main function to handle enable and disable commands
- Minor formatting and comment improvements in zrep script - Mon, 04 Mar 2024 22:17:21 +0100
2024-03-04 22:17:21 +01:00
bc1c7f4e4f Fix directory removal logic in zrep_remove_package function
- Corrected the logic to check if the first letter directory is empty before deletion
- Updated the README with work-in-progress status and a call for help and feedback - Mon, 04 Mar 2024 20:34:23 +0100
2024-03-04 20:34:23 +01:00
ad7ef3d777 - Refactored zrep_list_installed_packages function to display package status (Active/Inactive).
- Updated zrep_remove_package function to remove package from installed.json after successful removal.
- Added zrep_install_package function to download and install packages from a remote server.
- Minor code cleanup and formatting improvements. - Mon, 04 Mar 2024 20:20:33 +0100
2024-03-04 20:20:33 +01:00
720fc65095 Create space - Fri, 01 Mar 2024 12:22:39 +0100 2024-03-01 12:22:39 +01:00
588848b644 Lots of changes to a few functions - Thu, 29 Feb 2024 16:53:22 +0100 2024-02-29 16:53:22 +01:00
cd6e4c51b5 Let's see 2024-02-29 06:49:06 +01:00
03c4f9fcaf Big update. The frontend is close to working. - Wed, 28 Feb 2024 23:41:09 +0100 2024-02-28 23:41:09 +01:00
fe7b5544e4 Add name and version. Add dep on zini. 2024-02-27 18:39:09 +01:00
41f0709722 Initial commit of zrep 2024-02-27 16:50:07 +01:00
08e19f9abf Initial commit 2024-02-27 16:48:58 +01:00