1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-18 18:31:59 +00:00
Commit graph

66 commits

Author SHA1 Message Date
Marc Cornellà
3741d1aa02
fix(npx)!: detect new npx versions and fail gracefully (#10452)
BREAKING CHANGE: the `npx` plugin used a feature of `npx` to check for
npm packages and run them if a command was not found. This feature was
removed in v7.0.0 and was deemed insecure. The `npx` plugin is now
officially deprecated and will be removed soon.

Fixes #10452
2022-01-26 17:13:10 +01:00
Marc Cornellà
b60b3f1842
fix(osx): deprecate osx plugin without symlink (#10428)
Fixes #10428
2021-11-17 10:53:17 +01:00
Jonathan Batchelor
b2f35a7b98
refactor(osx): Rename osx plugin to macos (#10341)
Apple changed the name of their operating system from OS X to macOS a number of years ago. This was overdue!

As per issue  #10311

* refactor(osx): rename `osx` plugin to `macos`
* refactor(macos): Add symbolic link from old `osx` plugin name.
2021-11-05 16:40:38 -07:00
Rob Vadai
46f8765f4c
feat(osx): add freespace command to clean purgeable disk space (#8762)
Co-authored-by: Marc Cornellà <hello@mcornella.com>
2021-10-20 22:58:28 +02:00
April King
4ae5bdebc3
fix(osx): only run Preview.app in man-preview if man page exists (#10222) 2021-09-28 11:40:31 +02:00
Marc Cornellà
d47447a5e6
osx: refactor plugin and add a few features (#9026)
Co-authored-by: Capybara <git.capybara@gmail.com>
Co-authored-by: drootang <drootang@users.noreply.github.com>
Co-authored-by: Augusto Souza <augustorsouza@gmail.com>
Co-authored-by: PatrBal <44707588+PatrBal@users.noreply.github.com>
2020-06-17 11:26:39 +02:00
Marc Cornellà
610b2529d2 Clean up plugin READMEs and a few plugins
- fasd
- history
- mercurial
- pylint
- repo
- yii2
2020-03-11 19:57:46 +01:00
Marc Cornellà
9bfcab7d10 osx: use return instead of exit in spotify function 2019-12-28 18:07:09 +01:00
Carver Schmidt
31219c0246 osx: fix exit on quit command in spotify function (#8504) 2019-12-28 18:01:26 +01:00
James Jensen
451fb25703 osx: modify itunes function to support Apple Music (#8372)
Change `itunes` to `music`, as iTunes was renamed to Music in _**macOS** Catalina 10.15_

Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2019-11-15 22:59:20 +01:00
Péter HÉJA
e453731fc9 osx: fix exit on unknown command in spotify function (#8375) 2019-11-14 18:32:21 +01:00
Pete Johns
7f66a070a4 osx: add more arguments to itunes vol command (#7845)
- Get the iTunes volume without an argument
- Shift up / down iTunes volume
2019-05-27 18:22:07 +02:00
DT
f5f630ff34 osx: update spotify to v2.1 (#7820) 2019-05-09 14:17:22 +02:00
Umberto Lentini
351fa06574 osx: added support for Hyper terminal (#7494) 2019-04-09 14:05:53 +02:00
genevera
e634730e35
update spotify to newest version 2019-02-05 05:21:37 -05:00
Igor Kapkov
2614b7ecdf osx: fix rmdsstore function definition (#7443) 2018-11-27 22:58:36 +01:00
Josh Parnham
ecb46c3ec7 osx: fix typo in README (#7283) 2018-10-17 18:53:51 +02:00
Matthieu PETIOT
d4cae83152 osx: add function to remove .DS_Store files (#7008)
rmdsstore removes .DS_Store files recursively in the current directory by default, or for the given directories.
2018-09-10 20:10:31 +02:00
Janosch Schwalm
19b925e741 use https everywhere (#6574)
* use https everywhere

* use https links on the files that are left

Also, removed some broken links and updated redirections.
2018-08-07 20:42:01 +02:00
Harish Narayanan
c3b072eace Replace spotify command in the osx plugin with a more recent copy of the upstream project (#6419)
* Remove older shpotify code from the macOS plugin

* Add Shpotify 2.0.1 from the upstream repository at https://github.com/hnarayanan/shpotify/releases/tag/2.0.1

* Wrap the Shpotify script in a function and import into the macOS plugin

* Fix import path of the shpotify script

* Add shpotify permission notice in the macos plugin rREADME

* Merge with the upstream shpotify project

- Fix playlist playback
- Add a 'stop' command
2017-12-14 08:01:32 -08:00
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