From f820ccf4dd69d4cf784fca4fc0e1ae273993077e Mon Sep 17 00:00:00 2001 From: JameyBear Date: Mon, 1 Jun 2020 15:29:57 -0400 Subject: Shellcheck (#676) Co-authored-by: WhispersOfJ --- .local/bin/podentr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.local/bin/podentr') diff --git a/.local/bin/podentr b/.local/bin/podentr index 9a8313a..9454b07 100755 --- a/.local/bin/podentr +++ b/.local/bin/podentr @@ -2,6 +2,6 @@ # entr command to run `queueandnotify` when newsboat queue is changed -[ "$(pgrep -x $(basename $0) | wc -l)" -gt 2 ] && exit +[ "$(pgrep -x "$(basename "$0")" | wc -l)" -gt 2 ] && exit -echo ${XDG_DATA_HOME:-$HOME/.local/share}/newsboat/queue | entr -p queueandnotify 2>/dev/null +echo "${XDG_DATA_HOME:-$HOME/.local/share}"/newsboat/queue | entr -p queueandnotify 2>/dev/null -- cgit v1.3.1