diff --git a/README.md b/README.md
index 706d29c..1da63d1 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,5 @@
+
+
# Zsh Repository Tool (zrep)
zrep is a powerful and user-friendly package manager for the Zsh shell. It allows you to easily install, manage, and share Zsh packages, such as plugins, themes, and scripts, directly from a central repository.
@@ -26,4 +28,4 @@ zrep is an open-source project, and contributions are welcome! If you have any i
## License
-zrep is released under the MIT License.
\ No newline at end of file
+zrep is released under the MIT License.
diff --git a/zrep b/zrep
index d51a679..d830d29 100755
--- a/zrep
+++ b/zrep
@@ -60,7 +60,7 @@ colors=(
)
function zrep_main_version_string() {
- echo "${colors[bold_black]}${colors[white_bg]} ${ZREP} ${colors[end]}${colors[white]}${colors[black_bg]} ${VERSION} ${colors[end]}"
+ echo "${colors[bold_black]}${colors[white_bg]} ${ZREP} ${colors[end]}${colors[bold_white]}${colors[black_bg]} ${VERSION} ${colors[end]}"
}
function zrep_version() {
@@ -128,6 +128,7 @@ if [[ -n \${addons[@]} ]]; then
fpath=(\$addon "\${fpath[@]}") # Prepend the new addon to fpath
fi
done
+ autoload -Uz $(basename ${addon})
else
echo "zrep: No addons enabled."
fi
@@ -203,14 +204,14 @@ function zrep_list_installed_packages() {
# Iterate through each author and their packages
jq -r 'to_entries | .[] | .key as $author | .value[] | "\($author)/\(.script) (\(.version))"' "$installed_json" | while IFS= read -r package_info; do
local package_name=$(echo "$package_info" | cut -d ' ' -f1) # Extract package name before the version
- local is_active="${colors[white]}(${colors[end]}${colors[red]}Inactive${colors[end]}${colors[white]})${colors[end]}" # Set default to Inactive
+ local is_active="${colors[white]}(${colors[end]}${colors[bold_red]}Inactive${colors[end]}${colors[white]})${colors[end]}" # Set default to Inactive
# Check if the package is active (only modify if active)
if grep -q "$package_name" ${config[main_zrep_install_dir]}/.addons; then
is_active="${colors[white]}(${colors[end]}${colors[bold_green]}Active${colors[end]}${colors[white]})${colors[end]}"
fi
- zrep_msg other " - $package_info $is_active"
+ zrep_msg info " - $package_info $is_active"
done
}
diff --git a/zrep-logo.svg b/zrep-logo.svg
new file mode 100644
index 0000000..a7fc9ea
--- /dev/null
+++ b/zrep-logo.svg
@@ -0,0 +1 @@
+
\ No newline at end of file