1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-30 01:30:08 +00:00
Commit graph

46 commits

Author SHA1 Message Date
Avi Israeli
d874c73f19 itunes playlist first commit (#5860)
Added playlist feature for the itunes command: 
if a variable is passed and is valid - will play the playlist
if a variable is passed and is invalid(no such playlist) - will stop all playing
if no variable is passed will print all playlists available on the host
2017-02-22 23:53:27 -08:00
Ryan Brushett
ff5629e60b Improve UX for Spotify quit command in osx plugin (#5726)
* Improve UX for Spotify commands in osx plugin

Spotify command UX is a bit weak for people who live and work almost entirely in shells.
- `spotify quit` should not open Spotify if it is not already running. Should confirm that Spotify is indeed not running.
- `spotify quit` should not blow away the user's shell once Spotify is quit. This can be a disruption to work flow.

This PR looks to add a few little checks which will help improve this experience.
This PR also adds a space to line 477 between `break` and `;;` for consistency. Doesn't seem like a big enough change to put in its own PR.

* Rearranging output as per peer feedback

* osx plugin's spotify: change quitting w/ closing

Closing is more idiomatic English.
2016-12-30 18:59:17 +01:00
Manuel Hutter
3de0235ad2 Add missing newline to end of spotify status output (#5480) 2016-09-30 19:54:27 +02:00
mahi97
d6e032035c seach show Url of song 2016-09-01 01:52:43 +04:30
mahi97
f820345afa readme updated 2016-09-01 01:52:04 +04:30
mahi97
d099022e44 complete help 2016-08-31 04:41:54 +04:30
mahi97
6cbba3353f fix showStatus output 2016-08-31 04:35:29 +04:30
mahi97
b808555678 add search option for playlist 2016-08-31 04:18:22 +04:30
mahi97
3b2f827d5b add Search Option for album,artist and tracks 2016-08-31 04:12:13 +04:30
mahi97
96d57dc33e change pause to play/pause 2016-08-31 03:58:15 +04:30
mahi97
2a5321f4e6 add color echo 2016-08-31 03:56:21 +04:30
mahi97
92586e38c7 add info, share and status option 2016-08-31 03:50:53 +04:30
mahi97
8f47c96453 volume up/down added 2016-08-31 03:37:53 +04:30
mahi97
9248052e91 initial spotify control 2016-08-31 03:31:49 +04:30
Multilul
6e33095a7d iTerm2 v3 tab commands fixes (#5336)
Fixes the "syntax error: expected line end ..." (-2741) when using the tab, split_tab and vsplit_tab commands in iTerm2 v3
2016-08-24 21:15:12 +02:00
Ivan Eisenberg
cbd9d0403e Added documentation for undocumented OSX plugin commands (#5338)
* updated OSX plugin docs
2016-08-24 20:02:27 +02:00
Ahmad Awais
5d6c350166 Enhancement: Show/Hide OSX hidden files 💯 (#5275) 2016-08-14 17:55:02 -07:00
Marc Cornellà
9a61336d33 Fix man-preview completion definition
Related: #5179
2016-06-20 22:19:02 +02:00
Marc Cornellà
46c0d9590d Add README for OSX plugin and refactor plugin file 2016-06-16 00:23:09 +02:00
mssalvatore
137a554e48 Open finder to PWD - part 2 (#5165)
* Modifies ofd to use alias to open_command instead of shell function with AppleScript
2016-06-16 00:03:37 +02:00
mssalvatore
623ea23818 Add ofd() to OSX plugin to open finder on current directory (#5164)
* Add ofd() to OSX plugin to open finder on current directory

* Change `pwd` to $PWD in osx.plugin.zsh
  Suggested by mcornella
2016-06-15 23:17:03 +02:00
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
5e5096dad6 Added man-preview completion suggested by @webflo. 2011-06-01 20:24:15 -04: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