From ad766f239e39aa579f2864c0f5df4e543f97b212 Mon Sep 17 00:00:00 2001 From: Paul Melnikow Date: Mon, 30 Sep 2013 21:27:41 -0400 Subject: [PATCH] Revert "add search by filename and file content feature" This reverts commit a9111488e4945a29b8afa9a4eab12ee2e6fc9a0e. --- .gitignore | 5 +++-- custom/plugins/sfffe/sfffe.plugin.zsh | 28 --------------------------- 2 files changed, 3 insertions(+), 30 deletions(-) delete mode 100644 custom/plugins/sfffe/sfffe.plugin.zsh diff --git a/.gitignore b/.gitignore index 5db11ce5c..51a5ee6c3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,8 +1,9 @@ locals.zsh log/.zsh_history projects.zsh -custom/example -custom/example.zsh +custom/* +!custom/example +!custom/example.zsh *.swp !custom/example.zshcache cache/ 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' -}