From 08f544950aa50dbd02f22286ba2a562ba6c8267d Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 28 May 2008 20:02:52 +0200 Subject: don't use <<< as it breaks vims zsh syntax-highlighting --- bin/pkg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/pkg b/bin/pkg index 45f690c..28d44c0 100755 --- a/bin/pkg +++ b/bin/pkg @@ -142,8 +142,8 @@ pkg_list_installed () { } pkg_list_available () { - if (grep "^ssh" <<< "$PKG_ROOT" &> /dev/null) { - ssh -q $(sed 's!^ssh://!!' <<< "$PKG_ROOT" | sed -r 's!^([^/]*)/.*$!\1!') 'ls -1 packages' + if (echo "$PKG_ROOT" | grep "^ssh" &> /dev/null) { + ssh -q $(echo "$PKG_ROOT" | sed 's!^ssh://!!' | sed -r 's!^([^/]*)/.*$!\1!') 'ls -1 packages' } } -- cgit v1.2.3