From 994ddbf8f3dc90e62debe9c9042dce0104f05df4 Mon Sep 17 00:00:00 2001 From: Justin Hileman Date: Sun, 31 May 2015 08:30:49 -0700 Subject: [PATCH] [split] Move osx plugin to oh-my-fish/plugin-osx https://github.com/oh-my-fish/plugin-osx --- plugins/osx/README.markdown | 17 ----------------- plugins/osx/cdf.fish | 5 ----- plugins/osx/itunes.fish | 33 --------------------------------- plugins/osx/manp.fish | 5 ----- plugins/osx/pfd.fish | 8 -------- plugins/osx/pfs.fish | 13 ------------- plugins/osx/pushdf.fish | 5 ----- plugins/osx/ql.fish | 9 --------- plugins/osx/tab.fish | 7 ------- plugins/osx/trash.fish | 20 -------------------- 10 files changed, 122 deletions(-) delete mode 100644 plugins/osx/README.markdown delete mode 100644 plugins/osx/cdf.fish delete mode 100644 plugins/osx/itunes.fish delete mode 100644 plugins/osx/manp.fish delete mode 100644 plugins/osx/pfd.fish delete mode 100644 plugins/osx/pfs.fish delete mode 100644 plugins/osx/pushdf.fish delete mode 100644 plugins/osx/ql.fish delete mode 100644 plugins/osx/tab.fish delete mode 100644 plugins/osx/trash.fish diff --git a/plugins/osx/README.markdown b/plugins/osx/README.markdown deleted file mode 100644 index 2fda50d..0000000 --- a/plugins/osx/README.markdown +++ /dev/null @@ -1,17 +0,0 @@ -osx ---- - -**Maintainer:** [cykeb](https://github.com/CYKEB) - -Inspired by the oh-my-zsh plugin by [sorin-ionescu](https://github.com/sorin-ionescu) -https://github.com/robbyrussell/oh-my-zsh/blob/master/plugins/osx/osx.plugin.zsh - -- `tab` - Open the current directory in a new tab -- `pfd` - Return the path of the frontmost Finder window -- `pfs` - Return the current Finder selection -- `cdf` - cd to the current Finder directory -- `pushdf` - pushd to the current Finder directory -- `ql` - Quick Look a specified file -- `manp` - Open a specified man page in Preview -- `trash` - Move a specified file to the Trash -- `itunes` - Play, pause etc. iTunes diff --git a/plugins/osx/cdf.fish b/plugins/osx/cdf.fish deleted file mode 100644 index ec4a8b7..0000000 --- a/plugins/osx/cdf.fish +++ /dev/null @@ -1,5 +0,0 @@ -# cd to the current Finder directory - -function cdf -d "cd to the current Finder directory" - cd (pfd) -end \ No newline at end of file diff --git a/plugins/osx/itunes.fish b/plugins/osx/itunes.fish deleted file mode 100644 index 139197c..0000000 --- a/plugins/osx/itunes.fish +++ /dev/null @@ -1,33 +0,0 @@ -# Play, pause etc. iTunes - -function itunes -d "Play, pause etc. iTunes. Use -h or --help for a more detailed description." - if [ (count $argv) -gt 0 ] - set -l opt $argv[1] - switch $opt - case launch play pause stop rewind resume quit - case mute - set opt "set mute to true" - case unmute - set opt "set mute to false" - case next previous - set opt "$opt track" - case vol volume - set opt "set sound volume to $argv[2]" - case "" -h --help - echo "Usage: itunes