aboutsummaryrefslogtreecommitdiff
path: root/rofi
diff options
context:
space:
mode:
Diffstat (limited to 'rofi')
-rwxr-xr-xrofi/rofi_locate.sh4
1 files changed, 2 insertions, 2 deletions
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 "/\."