diff options
author | Andy Bateman <andy@andybateman.com> | 2015-09-17 13:48:30 +1200 |
---|---|---|
committer | Andy Bateman <andy@andybateman.com> | 2015-09-22 08:15:31 +1200 |
commit | 29db0e0119aba4f317ac320ed5089b82142bcb10 (patch) | |
tree | f5fd1af597a6be98013e12a62b32080ff586fc7d | |
parent | a746e6010ae2b260213f081789eaff01865f5664 (diff) | |
download | zsh-29db0e0119aba4f317ac320ed5089b82142bcb10.tar.gz zsh-29db0e0119aba4f317ac320ed5089b82142bcb10.tar.bz2 zsh-29db0e0119aba4f317ac320ed5089b82142bcb10.zip |
Fixed colourisation of Now Playing function
-rw-r--r-- | plugins/osx/osx.plugin.zsh | 2 |
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 ;; |