initial
This commit is contained in:
parent
090766cab0
commit
a33f99e765
1725 changed files with 129819 additions and 0 deletions
28
dot_oh-my-zsh/plugins/sfffe/sfffe.plugin.zsh
Normal file
28
dot_oh-my-zsh/plugins/sfffe/sfffe.plugin.zsh
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
# ------------------------------------------------------------------------------
|
||||
# FILE: sfffe.plugin.zsh
|
||||
# DESCRIPTION: search file for FE
|
||||
# AUTHOR: yleo77 (ylep77@gmail.com)
|
||||
# VERSION: 0.1
|
||||
# REQUIRE: ack
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
if (( ! $+commands[ack] )); then
|
||||
echo "'ack' is not installed!"
|
||||
return
|
||||
fi
|
||||
|
||||
ajs() {
|
||||
ack "$@" --type js
|
||||
}
|
||||
|
||||
acss() {
|
||||
ack "$@" --type css
|
||||
}
|
||||
|
||||
fjs() {
|
||||
find ./ -name "$@*" -type f | grep '\.js'
|
||||
}
|
||||
|
||||
fcss() {
|
||||
find ./ -name "$@*" -type f | grep '\.css'
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue