mirror of
https://github.com/marcogll/omarchy_setup.git
synced 2026-01-13 13:25:16 +00:00
feat: Enhance Zsh configuration and setup scripts with improved plugin management and GNOME Keyring integration
This commit is contained in:
@@ -14,19 +14,29 @@ NC='\033[0m' # No Color
|
||||
BOLD='\033[1m'
|
||||
|
||||
# Funciones de logging
|
||||
_maybe_clear_spinner() {
|
||||
if declare -F spinner_clear_line >/dev/null; then
|
||||
spinner_clear_line
|
||||
fi
|
||||
}
|
||||
|
||||
log_info() {
|
||||
_maybe_clear_spinner
|
||||
echo -e "${BLUE}▶${NC} ${BOLD}$1${NC}"
|
||||
}
|
||||
|
||||
log_success() {
|
||||
_maybe_clear_spinner
|
||||
echo -e "${GREEN}✓${NC} ${GREEN}$1${NC}"
|
||||
}
|
||||
|
||||
log_warning() {
|
||||
_maybe_clear_spinner
|
||||
echo -e "${YELLOW}⚠${NC} ${YELLOW}$1${NC}"
|
||||
}
|
||||
|
||||
log_error() {
|
||||
_maybe_clear_spinner
|
||||
echo -e "${RED}✗${NC} ${RED}$1${NC}"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user