From 7d7f82fa49b4c021611ce052f13879dd74be8537 Mon Sep 17 00:00:00 2001 From: zen0bit Date: Thu, 18 Apr 2024 13:45:24 +0200 Subject: [PATCH] fix grep bash_completion --- apptui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apptui b/apptui index 2c9cce2b3a..7ee8aaf579 100755 --- a/apptui +++ b/apptui @@ -638,7 +638,7 @@ double" | gum filter --height $height) } is_completion_enabled() { - if [ "$(grep -o "appman" < ~/.bash_completion | head -1)" == "appman" ]; then + if [ "$(grep -o "appman" ~/.bash_completion 2>/dev/null | head -1)" == "appman" ]; then echo "AppMan" fi if test -f /etc/bash_completion.d/am-completion.sh; then