prettier debug

This commit is contained in:
tavo 2024-05-16 14:30:55 -06:00
parent 89fcd05228
commit 5eac1b3352

View file

@ -1,9 +1,9 @@
#!/bin/sh
# TODO:
# - Check all variables to avoid root execution on unspecified places
echo_debug() { # DEBUG
printf '\033[1mDEBUG: %s...\033[0m\n' "$1" # DEBUG
} # DEBUG
echo_debug() { # DEBUG
printf '\033[1mDEBUG:\033[0m \033[2m%s...\033[0m\n' "$1" # DEBUG
} # DEBUG
alias tsudo='printf "%s" "$SUDO_PASSWORD" | sudo -Skp ""'