Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
a9111488
"vscode:/vscode.git/clone" did not exist on "c89afd2f6a7221152648c7c0e32879dfc98cad5b"
Commit
a9111488
authored
May 17, 2013
by
yleo77
Browse files
add search by filename and file content feature
parent
27c6becf
Changes
2
Show whitespace changes
Inline
Side-by-side
.gitignore
View file @
a9111488
locals.zsh
log/.zsh_history
projects.zsh
custom/*
!custom/example
!custom/example.zsh
custom/example
custom/example.zsh
*.swp
!custom/example.zshcache
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