Fix Spotify share url copying

cecho caused the plugin to copy "[1m[32m-n(B[m" to the clipboard, not the url. Changing to 'echo' fixes that
This commit is contained in:
Tom Whitwell 2017-09-06 15:48:29 +01:00 committed by GitHub
commit d20b80ea27

View file

@ -533,7 +533,7 @@ function spotify() {
url=${url#$remove}
url="http://open.spotify.com/track/$url"
cecho "Share URL: $url";
cecho -n "$url" | pbcopy
echo -n "$url" | pbcopy
break;;
-h|--help| *)