mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-04-17 04:29:14 +02:00
Fixed tab/spaces
This commit is contained in:
parent
6570870828
commit
9724ff975f
1 changed files with 63 additions and 62 deletions
|
|
@ -162,6 +162,7 @@ function itunes() {
|
|||
opt="set sound volume to $1" #$1 Due to the shift
|
||||
;;
|
||||
status|nowplaying)
|
||||
# Inspired by: http://hints.macworld.com/article.php?story=20011108211802830
|
||||
local state=`osascript -e 'tell application "iTunes" to player state as string'`
|
||||
echo "iTunes is currently $state"
|
||||
if [ "$state" = "playing" ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue