You can now use 'itunes status' as well as 'itunes playing' to show current track
Diff
1diff --git a/plugins/osx/osx.plugin.zsh b/plugins/osx/osx.plugin.zsh
2index f1b4371899610e13deb62e223112dcc8f3b5e1ca..859e08da588f76bcddc9b9a871a024c1758dd0c0 100644
3--- a/plugins/osx/osx.plugin.zsh
4+++ b/plugins/osx/osx.plugin.zsh
5@@ -161,9 +161,9 @@ function itunes() {
6 vol)
7 opt="set sound volume to $1" #$1 Due to the shift
8 ;;
9- playing)
10+ playing|status)
11 local state=`osascript -e 'tell application "iTunes" to player state as string'`
12- if [ "$state" = "playing" ]; then
13+ if [[ "$state" = "playing" ]]; then
14 currenttrack=`osascript -e 'tell application "iTunes" to name of current track as string'`
15 currentartist=`osascript -e 'tell application "iTunes" to artist of current track as string'`
16 print -P "Listening to %F{yellow}$currenttrack%f by %F{yellow}$currentartist%f";