36b81d6657
Fix a few bugs preventing the download of scripts
kekePower2024-07-01 09:42:36 +02:00
0372eba263
Title: Refactor zrep_download_package function and introduce zrep_global_downloader
kekePower2024-04-07 19:21:05 +02:00
d0136a9b19
Update downloader commands in zrep_global_downloader and zrep_download_package functions. Fixed ZSH_SCRIPT variable usage.
kekePower2024-04-07 19:06:55 +02:00
933b27b167
Update zrep functions to use function keyword for consistency.
kekePower2024-04-07 01:28:51 +02:00
2ccef547a8
Update 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
kekePower2024-04-06 18:43:49 +02:00
30ffb0f6bb
Update zpi tool with new features and improvements:
kekePower2024-04-06 00:24:26 +02:00
8569de68ec
Update package manager name from zrep to zpi and adjust related text and commands accordingly.
kekePower2024-04-05 22:01:39 +02:00
aee45ba2ee
Added zsh functions for managing zrep packages. Fixed bugs in zrep functions. Updated zrep version to 0.0.7.
v0.0.8
kekePower2024-04-05 21:43:51 +02:00
ae6becb2cc
Updated zrep script to version 0.0.7 with new features and improvements.
v0.0.7
kekePower2024-04-05 00:36:24 +02:00
8ea89b837b
Added search function link to zrep website. Added note about future search function in zrep script.
kekePower2024-04-04 13:12:53 +02:00
e37233009c
Update README with information about zrep tool and its usage. Added a section explaining what zrep is and how to share scripts.
kekePower2024-04-04 13:07:14 +02:00
6399a20ed1
Updated 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
kekePower2024-04-03 13:57:43 +02:00
2e0d42c040
Updated 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
kekePower2024-04-02 21:57:39 +02:00
8f34150a78
Update 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
kekePower2024-03-31 15:14:43 +02:00
c4c384c799
Use PNG instead of SVG for logo
kekePower2024-03-17 09:05:41 +01:00
d0fed1720e
Update zrep to version 0.0.3. New zrep-logo.svg. Bug fixes and enhancements.
kekePower2024-03-17 09:04:23 +01:00
255649a53e
Title: Update zrep function to exit instead of return
kekePower2024-03-16 00:29:07 +01:00
a64e876b7d
Added return statement when package is not found in zrep_parse_remote function.
kekePower2024-03-16 00:27:27 +01:00
a50a99183b
Added touch command to create installed.json if not found. Included error message for clarity.
kekePower2024-03-16 00:18:25 +01:00
fcf519dd68
Added conditional check to load config and theme only if argument is not "init".
kekePower2024-03-16 00:14:36 +01:00
dd518d733b
Refactor 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.
kekePower2024-03-16 00:11:00 +01:00
7243ae4235
Added 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'.
kekePower2024-03-16 00:10:00 +01:00
3345f78b7a
Update 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.
kekePower2024-03-16 00:06:08 +01:00
ba1829953c
Added directory creation for install_dir Added autoload for zini Added creation of .addons file Added installation of Classic theme Updated zrep initialization process
kekePower2024-03-15 23:58:20 +01:00
7da1c425f4
Title: Fix unzip command order in zrep script
kekePower2024-03-15 23:21:29 +01:00
3830e58ebb
Update unzip command in zrep script to use -aa flag for better compatibility.
kekePower2024-03-15 23:19:05 +01:00
4337b13a28
Update zrep script with autoload fix and debug message in zrep_install_package function.
kekePower2024-03-15 23:14:47 +01:00
e314131622
Update zrep script to display a newline before "No packages installed" message. Add newline character before the message to improve readability.
kekePower2024-03-15 22:56:38 +01:00
b160120893
Update zrep script to handle cases where installed.json is empty or contains no packages. Add checks to handle empty JSON objects or arrays.
kekePower2024-03-15 22:55:52 +01:00
d4e355cf32
Update 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.
kekePower2024-03-15 22:45:37 +01:00
c297c2a551
Update curl command in zrep script for downloading packages. Fix duplicate output redirection.
kekePower2024-03-15 22:39:24 +01:00
c92eb49c05
Added conditional check for zrep initialization. Created files .addons and installed.json during zrep initialization.
kekePower2024-03-15 22:35:41 +01:00
de3bb15662
Title: Update zrep script with enhanced downloader function
kekePower2024-03-15 22:10:39 +01:00
17c9058be5
Added 'curl' to the list of required programs in zrep script.
kekePower2024-03-15 11:53:45 +01:00
d0210580b1
Refactor 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 format
kekePower2024-03-14 16:24:48 +01:00
40adc05b9b
Update 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 function
kekePower2024-03-13 22:52:47 +01:00
a492260ec9
Update 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' command
kekePower2024-03-13 07:25:59 +01:00
de29949486
Update zrep script with new color scheme and theme loading functionality.
kekePower2024-03-12 23:52:10 +01:00
7ddcd309c5
Added export statement to fix variable assignment issue in zrep script.
kekePower2024-03-12 18:07:33 +01:00
548012d7cc
Update 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_json
kekePower2024-03-12 18:06:06 +01:00
4d249d2bf1
Update 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.
kekePower2024-03-12 14:58:13 +01:00
849d4e46a4
Updated 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.
kekePower2024-03-11 22:15:43 +01:00
02ae618bf1
Clean up comments. Embrace variables.
kekePower2024-03-10 13:31:19 +01:00
dbc9a8b6dd
Fix zrep script to correctly load addons by moving the 'done' statement inside the 'if' block.
kekePower2024-03-10 10:02:08 +01:00
2ebb0fd3b7
Update 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 script
kekePower2024-03-10 09:49:34 +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
kekePower2024-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
kekePower2024-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
kekePower2024-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
kekePower2024-03-04 22:36:49 +01:00
469ff49206
Add zrep_enable and zrep_disable functions
kekePower2024-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
kekePower2024-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
kekePower2024-03-04 20:20:33 +01:00
720fc65095
Create space - Fri, 01 Mar 2024 12:22:39 +0100
kekePower2024-03-01 12:22:39 +01:00
588848b644
Lots of changes to a few functions - Thu, 29 Feb 2024 16:53:22 +0100
kekePower2024-02-29 16:53:22 +01:00