aboutsummaryrefslogtreecommitdiff
path: root/sh/profile.d
diff options
context:
space:
mode:
Diffstat (limited to 'sh/profile.d')
-rw-r--r--sh/profile.d/welcome.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/sh/profile.d/welcome.sh b/sh/profile.d/welcome.sh
index d1a6b52d..345fd598 100644
--- a/sh/profile.d/welcome.sh
+++ b/sh/profile.d/welcome.sh
@@ -14,8 +14,7 @@ esac
(
# Temporary helper function
welcome() {
- [ -e "${XDG_CONFIG_HOME:-"$HOME"/.config}"/welcome/"$1" ] || return
- command -v "$1" >/dev/null 2>&1 || return
+ test -e "${XDG_CONFIG_HOME:-"$HOME"/.config}"/welcome/"$1"
}
# Show a fortune