tRely on $PATH - scripts - various script and utils
(HTM) git clone git://z3bra.org/scripts
(DIR) Log
(DIR) Files
(DIR) Refs
---
(DIR) commit 1c4e8db6aade80762d93b00456a0f63e6dd7c23b
(DIR) parent ec64cf9635041a804ee7958fff478201dc057d0c
(HTM) Author: z3bra <willy@mailoo.org>
Date: Sun, 6 Jul 2014 16:13:19 +0200
Rely on $PATH
Diffstat:
M ydl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/ydl b/ydl
t@@ -15,7 +15,7 @@ usage() {
test $# -eq 0 && usage && exit 1
# you can either pass MULTIPLE search terms or a SINGLE url
-test $# -gt 1 && uri=$(~/bin/ys -n1 -u $@) || uri=$1
+test $# -gt 1 && uri=$(ys -n1 -u $@) || uri=$1
# give up if we got no uri
if test -z "$uri"; then