Skip to content

Commit

Permalink
🔇 silent changes: change icon when executing command #4
Browse files Browse the repository at this point in the history
  • Loading branch information
pnguyen215 committed Jul 25, 2024
1 parent 54a770c commit c4b38d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/h.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function add_suffix_if_needed() {
function wsd_exe_cmd() {
local command="$*"
# Print the command
echo "🟣: $command"
echo "🐞 $command"
# Execute the command without using eval
"$@"
# eval "$command"
Expand Down Expand Up @@ -76,7 +76,7 @@ function wsd_exe_cmd() {
# - This function is useful for displaying commands in logs or hooks without execution.
function wsd_exe_cmd_hook() {
local command="$*"
echo "👉 use: $command"
echo "🐝 use: $command"
}

# allow_execute_perm function
Expand Down

0 comments on commit c4b38d7

Please sign in to comment.