summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/osx/osx.plugin.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/osx/osx.plugin.zsh b/plugins/osx/osx.plugin.zsh
index 044276c1c..f1b437189 100644
--- a/plugins/osx/osx.plugin.zsh
+++ b/plugins/osx/osx.plugin.zsh
@@ -166,7 +166,7 @@ function itunes() {
if [ "$state" = "playing" ]; then
currenttrack=`osascript -e 'tell application "iTunes" to name of current track as string'`
currentartist=`osascript -e 'tell application "iTunes" to artist of current track as string'`
- echo "Listening to %F{yellow}$currenttrack%f by %F{yellow}$currentartist%f";
+ print -P "Listening to %F{yellow}$currenttrack%f by %F{yellow}$currentartist%f";
fi
return 0
;;