diff options
Diffstat (limited to 'custom/plugins')
-rw-r--r-- | custom/plugins/example/example.plugin.zsh | 2 | ||||
-rw-r--r-- | custom/plugins/gitignore/gitignore.plugin.zsh | 12 | ||||
-rw-r--r-- | custom/plugins/sfffe/sfffe.plugin.zsh | 28 |
3 files changed, 2 insertions, 40 deletions
diff --git a/custom/plugins/example/example.plugin.zsh b/custom/plugins/example/example.plugin.zsh new file mode 100644 index 000000000..406f27445 --- /dev/null +++ b/custom/plugins/example/example.plugin.zsh @@ -0,0 +1,2 @@ +# Add your own custom plugins in the custom/plugins directory. Plugins placed +# here will override ones with the same name in the main plugins directory. diff --git a/custom/plugins/gitignore/gitignore.plugin.zsh b/custom/plugins/gitignore/gitignore.plugin.zsh deleted file mode 100644 index 332497cec..000000000 --- a/custom/plugins/gitignore/gitignore.plugin.zsh +++ /dev/null @@ -1,12 +0,0 @@ -function gi() { curl http://gitignore.io/api/$@ ;} - -_gitignireio_get_command_list() { - curl -s http://gitignore.io/api/list | tr "," "\n" -} - -_gitignireio () { - compset -P '*,' - compadd -S '' `_gitignireio_get_command_list` -} - -compdef _gitignireio gi
\ No newline at end of file diff --git a/custom/plugins/sfffe/sfffe.plugin.zsh b/custom/plugins/sfffe/sfffe.plugin.zsh deleted file mode 100644 index a0f034908..000000000 --- a/custom/plugins/sfffe/sfffe.plugin.zsh +++ /dev/null @@ -1,28 +0,0 @@ -# ------------------------------------------------------------------------------ -# FILE: sfffe.plugin.zsh -# DESCRIPTION: search file for FE -# AUTHOR: yleo77 (ylep77@gmail.com) -# VERSION: 0.1 -# REQUIRE: ack -# ------------------------------------------------------------------------------ - -if [ ! -x $(which ack) ]; then - echo \'ack\' is not installed! - exit -1 -fi - -ajs() { - ack "$@" --type js -} - -acss() { - ack "$@" --type css -} - -fjs() { - find ./ -name "$@*" -type f | grep '\.js' -} - -fcss() { - find ./ -name "$@*" -type f | grep '\.css' -} |