mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-22 04:51:12 +02:00
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:
parent
d848c94804
commit
d20b80ea27
1 changed files with 1 additions and 1 deletions
|
|
@ -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| *)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue