diff --git a/home/user/.config/bash/functions b/home/user/.config/bash/functions index 5136605..b561769 100644 --- a/home/user/.config/bash/functions +++ b/home/user/.config/bash/functions @@ -205,7 +205,12 @@ showtips() { git init "$TIPS_DIR" fi - cat "$TIPS_DIR"/* 2>/dev/null + local content + for filename in "$TIPS_DIR"/* + do + content="$(cat "$filename")" + echo "$content" + done return 0 }