0372eba263Title: Refactor zrep_download_package function and introduce zrep_global_downloaderStig-Ørjan Smelror2024-04-07 19:21:05 +0200
d0136a9b19Update downloader commands in zrep_global_downloader and zrep_download_package functions. Fixed ZSH_SCRIPT variable usage.Stig-Ørjan Smelror2024-04-07 19:06:55 +0200
933b27b167Update zrep functions to use function keyword for consistency.Stig-Ørjan Smelror2024-04-07 01:28:51 +0200
2ccef547a8Update zpi version to 0.0.9 - Updated version to 0.0.9 - Updated URLs to point to zpi instead of zrep - Updated initialization messages to refer to zpi - Updated messages to reflect zpi instead of zrep
v0.0.9
Stig-Ørjan Smelror2024-04-06 18:43:49 +0200
8ea89b837bAdded search function link to zrep website. Added note about future search function in zrep script.Stig-Ørjan Smelror2024-04-04 13:12:53 +0200
e37233009cUpdate README with information about zrep tool and its usage. Added a section explaining what zrep is and how to share scripts.Stig-Ørjan Smelror2024-04-04 13:07:14 +0200
6399a20ed1Updated zrep version to 0.0.6 - Updated version to 0.0.6 - Changed repo_url to https://zrep.kekepower.com - Added reminder to copy 'zrep' to a directory in 'PATH' - Added reminder to source ${zshrc_file} after installation.
v0.0.6
Stig-Ørjan Smelror2024-04-03 13:57:43 +0200
2e0d42c040Updated zrep version to 0.0.5 - Updated version to 0.0.5 - Added validation for package name format - Display error message if package name format is incorrect
v0.0.5
Stig-Ørjan Smelror2024-04-02 21:57:39 +0200
8f34150a78Update zrep script to version 0.0.4 - Updated version number to 0.0.4 - Added timestamp to remoteFile URL - Improved update_package function logic - Added prompt for user confirmation before updating - Updated downloader commands for curl, wget, and wget2 - Improved error handling in download_package function - Improved installation process in install_package function
v0.0.4
Stig-Ørjan Smelror2024-03-31 15:14:43 +0200
a64e876b7dAdded return statement when package is not found in zrep_parse_remote function.Stig-Ørjan Smelror2024-03-16 00:27:27 +0100
a50a99183bAdded touch command to create installed.json if not found. Included error message for clarity.Stig-Ørjan Smelror2024-03-16 00:18:25 +0100
fcf519dd68Added conditional check to load config and theme only if argument is not "init".Stig-Ørjan Smelror2024-03-16 00:14:36 +0100
dd518d733bRefactor zrep_load_config function in zrep script: - Indent zrep_init call properly. - Add else block to handle setup abort. - Provide feedback message for setup abortion.Stig-Ørjan Smelror2024-03-16 00:11:00 +0100
7243ae4235Added user interaction for setting up zrep for the first time. - Display welcome message when running zrep for the first time. - Prompt user to set up zrep if config file is not found. - Added user confirmation before running 'zrep init'.Stig-Ørjan Smelror2024-03-16 00:10:00 +0100
3345f78b7aUpdate zrep script: - Comment out unused variable assignment. - Add installation path to theme installation message. - Prompt user to initialize config if not found. - Provide welcome message for first-time users.Stig-Ørjan Smelror2024-03-16 00:06:08 +0100
ba1829953cAdded directory creation for install_dir Added autoload for zini Added creation of .addons file Added installation of Classic theme Updated zrep initialization processStig-Ørjan Smelror2024-03-15 23:58:20 +0100
3830e58ebbUpdate unzip command in zrep script to use -aa flag for better compatibility.Stig-Ørjan Smelror2024-03-15 23:19:05 +0100
4337b13a28Update zrep script with autoload fix and debug message in zrep_install_package function.Stig-Ørjan Smelror2024-03-15 23:14:47 +0100
e314131622Update zrep script to display a newline before "No packages installed" message. Add newline character before the message to improve readability.Stig-Ørjan Smelror2024-03-15 22:56:38 +0100
b160120893Update zrep script to handle cases where installed.json is empty or contains no packages. Add checks to handle empty JSON objects or arrays.Stig-Ørjan Smelror2024-03-15 22:55:52 +0100
d4e355cf32Update zrep script with improvements in file existence check and script entry handling. Fix JSON file creation and ensure it's not empty. Refactor script entry update/addition logic for better clarity. Rearrange curl command options for zrep_download_package function.Stig-Ørjan Smelror2024-03-15 22:45:37 +0100
c297c2a551Update curl command in zrep script for downloading packages. Fix duplicate output redirection.Stig-Ørjan Smelror2024-03-15 22:39:24 +0100
c92eb49c05Added conditional check for zrep initialization. Created files .addons and installed.json during zrep initialization.Stig-Ørjan Smelror2024-03-15 22:35:41 +0100
17c9058be5Added 'curl' to the list of required programs in zrep script.Stig-Ørjan Smelror2024-03-15 11:53:45 +0100
d0210580b1Refactor zrep_list_installed_packages function - Added zmodload zsh/regex for regex support - Changed grep to regex match for package activation check - Updated zrep_msg output formatStig-Ørjan Smelror2024-03-14 16:24:48 +0100
40adc05b9bUpdate zrep script: - Changed comment to define default path for .zreprc - Updated comment to define list of colors available for themes - Removed clearing of previous theme settings - Added function to check if a string exists in ~/.zshrc - Added function to check for required dependencies - Updated zrep_init function to include checking for dependencies - Updated zrep_init function to create default file and directory structure - Updated zrep_init function to check for existing zini path in .zshrc - Updated zrep_init function to check for existing source command for .zrep_addons in .zshrc - Updated zrep_init function to create or update .zrep_addons file - Updated zrep_check_for_updates function to display message if no updates found - Removed redundant message in zrep_update_package function - Updated zrep_download_package function to display download attempt message - Updated zrep_download_package function to display download successful message - Updated zrep_install_package function to include fetching package information - Removed commented out line in zrep_install_package function - Removed commented out line in zrep_parse_package_name functionStig-Ørjan Smelror2024-03-13 22:52:47 +0100
a492260ec9Update zrep version to 0.0.2 - Updated zrep version to 0.0.2 - Improved error messages for package not found - Enhanced output messages for installed packages - Improved error handling for package installation - Enhanced error messages for package not installed - Added 'del' alias for 'remove' command - Improved usage message for 'remove' commandStig-Ørjan Smelror2024-03-13 07:25:59 +0100
de29949486Update zrep script with new color scheme and theme loading functionality.Stig-Ørjan Smelror2024-03-12 23:52:10 +0100
7ddcd309c5Added export statement to fix variable assignment issue in zrep script.Stig-Ørjan Smelror2024-03-12 18:07:33 +0100
548012d7ccUpdate zrep script with zrep_installed_json function - Added zrep_installed_json function to handle installed.json existence - Updated zrep_update_installed_json to use zrep_installed_json - Updated zrep_list_installed_packages to use zrep_installed_json - Updated zrep_list_package to use zrep_installed_json - Updated zrep_remove_package to use zrep_installed_json - Updated zrep_check_if_installed to use zrep_installed_json - Updated zrep_check_for_updates to use zrep_installed_json - Updated zrep_install_package to remove temporary zip files - Updated zrep_parse_installed_json to use zrep_installed_json - Updated zrep_parse_package_name to use zrep_installed_json - Updated zrep_enable and zrep_disable to remove unnecessary sourcing and function calls - Updated zrep_read_usage to use zrep_installed_jsonStig-Ørjan Smelror2024-03-12 18:06:06 +0100
4d249d2bf1Update zrep initialization to include global settings and reminder to source zshrc. Check for 'zini' path in fpath before adding. Enhance update logic to handle specific package updates. Improve update messaging and handle no updates found case. Refactor update package function for better readability. Add conditional help message for 'init' command if config file doesn't exist.Stig-Ørjan Smelror2024-03-12 14:58:13 +0100
849d4e46a4Updated zrep script to include functions for checking updates, updating specific packages, and installing packages. Added logic to handle package installation, removal, and updating. Improved error handling and messaging for better user experience. Enhanced functionality for managing zrep packages efficiently.Stig-Ørjan Smelror2024-03-11 22:15:43 +0100
dbc9a8b6ddFix zrep script to correctly load addons by moving the 'done' statement inside the 'if' block.Stig-Ørjan Smelror2024-03-10 10:02:08 +0100
2ebb0fd3b7Update zrep logo in README.md Enhance version string color in zrep script Add bold style to version number in zrep script Fix autoload command in zrep script Improve color styling for active/inactive packages in zrep scriptStig-Ørjan Smelror2024-03-10 09:49:34 +0100
5562ae7986Update 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 +0100Stig-Ørjan Smelror2024-03-09 00:36:09 +0100
5f7c437701Update 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 +0100Stig-Ørjan Smelror2024-03-06 18:33:14 +0100
e3ee9e49a9Update 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 +0100Stig-Ørjan Smelror2024-03-04 23:40:02 +0100
d1f2b04d5bUpdate 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 +0100Stig-Ørjan Smelror2024-03-04 22:36:49 +0100
bc1c7f4e4fFix 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 +0100Stig-Ørjan Smelror2024-03-04 20:34:23 +0100
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 +0100Stig-Ørjan Smelror2024-03-04 20:20:33 +0100