Commit Graph

24 Commits

Author SHA1 Message Date
Johan K. Jensen
d189236f75 Add iTerm2 v3 support 2016-03-08 13:17:23 +01:00
Robby Russell
a51a9169a9 Merge pull request #4348 from andybateman/patch-1
Display song currently playing in iTunes
2015-09-27 12:40:31 -07:00
Andy Bateman
326c2b0859 Replaced the use of 'print' with 'echo' in order to sanitise track and artist names
Fixed indentation

Fixed indentation
2015-09-22 08:15:31 +12:00
Andy Bateman
993e09cc6b Added function for 'itunes playing' to display state when not playing 2015-09-22 08:15:31 +12:00
Andy Bateman
9f2acdc445 You can now use 'itunes status' as well as 'itunes playing' to show current track 2015-09-22 08:15:31 +12:00
Andy Bateman
29db0e0119 Fixed colourisation of Now Playing function 2015-09-22 08:15:31 +12:00
Andy Bateman
a746e6010a Update osx.plugin.zsh
Added function to display the song you're currently listening to in iTunes

Fixed indent

Indentation on line 169 was squiffy

Fixed spelling

Removed unnecessary wording to make function more succinct.

Highlighting of Artist and Track

Changed the highlighting of the Track and Artist in yellow to make use of Prompt Expansion Colors
2015-09-22 08:15:22 +12:00
MoonFruit
0a2c31fb60 Remove redundant semicolon
Remove redundant semicolon to make tab() works better in ITerm 2.
2015-08-28 10:46:45 +08:00
Andrew Janke
689b5ab3c8 osx: fix tab* functions so cd works in iTerm2, exit status is correct, and
error messages are not discarded.
2015-06-26 01:48:17 -04:00
Vadim
4b76b7429a remove trash command from osx plugin 2015-06-12 00:21:44 +02:00
Robby Russell
ce607d3fcb Adding keystrong return to oascrupt per suggestion by @enzzzy. Fixes #2913. 2015-02-22 09:51:22 -08:00
Ryan Robeson
43a2e24c25 Add itunes shuffle command to OSX plugin.
Added shuffle functionality to the itunes command in the OSX plugin.
iTunes 12 doesn't support setting the "shuffle" property on the playlist
from what I've read, so this simulates the user interacting with the
iTunes interface. The toggle option "clicks" the shuffle button in the
Now Playing area. This has the effect of toggling the shuffle setting on
whatever is currently playing. The on and off options use the Shuffle
menu bar items.

Usage: itunes shuffle [on|off|toggle]
2014-12-12 17:48:17 -05:00
Elliott Williams
73212ded4e Fix osx function: "not valid in this context"
I have been continually having problems with the "trash" function provided by the osx plugin, getting this error:

    trash:local:2: not valid in this context:

It seems like adding quotes around the assignment in [osx.plugin.zsh#L142](https://github.com/robbyrussell/oh-my-zsh/blob/master/plugins/osx/osx.plugin.zsh#L142) fixed my problem.

Does this look good to you? Thanks!
2014-07-21 11:15:09 -04:00
Josh Datko
b7f51bbbdd Adds itunes vol command.
Adds itunes vol, which takes an argument from 0 to 100 to set the
volume from the shell.
2014-05-27 10:34:03 -06:00
Benjamin Wong
6f3cf195c6 Spelling correction in itunes control function.
Spelling correction in itunes control function.
2014-04-18 22:43:23 +10:00
oxnz
500e5a73b6 add itunes function to control itnues from the terminal 2013-10-16 16:43:03 +08:00
Christoph Jerolimov
b074886ae6 Do not clear tab when calling it with an argument. 2013-06-14 01:36:37 +03:00
ishtu
49860bd61f add function vncviwer 2013-03-10 19:18:33 +03:00
Ryan Schmukler
4a813cf1a2 Added vsplit_tab and split_tab for iTerm. Create new session within a vertical/horizontal split of the tab respectively. 2011-12-27 21:02:31 -06:00
Sorin Ionescu
f401d6ef78 Vastly improved osx plugin. 2011-06-01 20:24:15 -04:00
Andrew Hodges
18293cd724 OS X Helpers
Add helper aliases for show/hide files. Add helper alias to recursively delete
.DS_Store files.
2011-05-28 11:27:50 -04:00
Ben Langfeld
6467e90efb Add iTerm version of tab function (itab) 2011-02-18 13:11:24 +00:00
Ben Langfeld
c52fea8082 Make a cleaner version of the OS X tab function 2011-02-18 13:11:24 +00:00
Robby Russell
26d97a9355 Reorganizing plugins so that each plugin has it's own directory now so that any plugin-specific functions can be bundled within there. 2010-09-30 21:34:06 -07:00