diff --git a/yt b/yt index 09ccc48..32a73f1 100755 --- a/yt +++ b/yt @@ -192,7 +192,7 @@ search() { selection="$(printf '%s\n' "$results" \ | $YTPICK \ - | cut -d'[' -f2 \ + | sed 's/.*\[//g' | tr -d ']')" if test -n "$selection"; then