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//')"