Skip to content

Commit

Permalink
Further enhacnements on core and components
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmadassaf committed Mar 3, 2024
1 parent 35cbef9 commit 6dcc407
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion components
Submodule components updated 2 files
+1 −1 aliases
+1 −1 plugins
4 changes: 2 additions & 2 deletions lib/helpers/disabler.bash
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ _gaudi-bash-disable() {
_component=$(command ls $ "${GAUDI_BASH}/components/enabled/"[0-9]*"$GAUDI_BASH_LOAD_PRIORITY_SEPARATOR$component.$type.bash" 2> /dev/null | head -1)

if [[ -z "$_component" ]]; then
printf "${CYAN}$component ${RED}%s ${GREEN}$type_singular${NC}\n" "does not appear to be an enabled"
printf "${RED}${NC} ${CYAN}$component ${NC}%s ${GREEN}$type_singular${NC}\n" "does not appear to be an enabled"
return 1
else
rm "${GAUDI_BASH}/components/enabled/$(basename "$_component")"
Expand All @@ -58,7 +58,7 @@ _gaudi-bash-disable() {

_gaudi-bash-component-cache-clean "${type}"

printf "${RED}%s ${GREEN}$type_singular: ${CYAN}$component${NC}\n" "◯ disabled"
printf "${CYAN}%s ${GREEN}$type_singular: ${CYAN}$component${NC}\n" "◯ disabled"

[[ $type == "plugins" ]] && _on-disable-callback "$component"

Expand Down

0 comments on commit 6dcc407

Please sign in to comment.