From c0044eba31cdf3d575cdf8ae43aff1e7dc7a6529 Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Fri, 3 Mar 2017 21:31:42 +0100 Subject: Update the configuration --- rofi/rofi_locate.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rofi/rofi_locate.sh') diff --git a/rofi/rofi_locate.sh b/rofi/rofi_locate.sh index 1dc4bb9..e00e499 100755 --- a/rofi/rofi_locate.sh +++ b/rofi/rofi_locate.sh @@ -1,10 +1,10 @@ #!/bin/sh -if [ -z $1 ]; then +if [ -z "$1" ]; then echo "" else if [ -e "$1" ]; then - xdg-open "$1" + xdg-open "$1" > /dev/null else echo "" locate --ignore-case -A ~ $* | grep -v "/\." -- cgit v1.2.3