From 536af07f6ba55888408e15d70a5a8a38260a2588 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Sun, 14 Oct 2018 13:05:55 -0400 Subject: [PATCH] removal of bashisms --- .scripts/tutorialvids | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.scripts/tutorialvids b/.scripts/tutorialvids index ed607fd..f248253 100755 --- a/.scripts/tutorialvids +++ b/.scripts/tutorialvids @@ -14,4 +14,4 @@ urlview https://www.youtube.com/watch?v=IgzpAjFgbCw vi mode in shell https://www.youtube.com/watch?v=GqoJQft5R2E " -mpv $(grep -P "^$(grep https: <<< $vidlist | sed 's/\t.*//g' | dmenu -i -p "Learn about what? (ESC to cancel)" -l 5)\t" <<<$vidlist | sed 's/.*\t//') +mpv "$(echo "$vidlist" | grep -P "^$(echo "$vidlist" | grep "https:" | sed 's/\t.*//g' | dmenu -i -p "Learn about what? (ESC to cancel)" -l 5)\\t" | sed 's/.*\t//')"