Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
a9111488
Commit
a9111488
authored
May 17, 2013
by
yleo77
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add search by filename and file content feature
parent
27c6becf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
3 deletions
+30
-3
.gitignore
.gitignore
+2
-3
sfffe.plugin.zsh
custom/plugins/sfffe/sfffe.plugin.zsh
+28
-0
No files found.
.gitignore
View file @
a9111488
locals.zsh
locals.zsh
log/.zsh_history
log/.zsh_history
projects.zsh
projects.zsh
custom/*
custom/example
!custom/example
custom/example.zsh
!custom/example.zsh
*.swp
*.swp
!custom/example.zshcache
!custom/example.zshcache
cache/
cache/
custom/plugins/sfffe/sfffe.plugin.zsh
0 → 100644
View file @
a9111488
# ------------------------------------------------------------------------------
# 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'
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment