From 26b87a1ded7baed66d5bf430f9f04122482a0368 Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Thu, 25 Jun 2015 09:51:07 +0100 Subject: [PATCH] radio --- etc/bashrc.function | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/bashrc.function b/etc/bashrc.function index c7793271..28a28603 100644 --- a/etc/bashrc.function +++ b/etc/bashrc.function @@ -331,7 +331,7 @@ Choose one > \ read -p "$radios" else REPLY="$@" - end + fi test -z "$REPLY" 2>/dev/null && return awk -F '|' '$1 == '$REPLY' {print $3; exit}' <<< "$radios" | sed 's/^ //' | xargs mplayer 2>/dev/null } -- 2.47.3