diff --git a/apptui b/apptui index 2c9cce2b3..7ee8aaf57 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