Add upstream oh_my_zsh repo

This commit is contained in:
2020-10-16 10:09:40 +05:00
parent 9fcc978a55
commit 1335bbb251
440 changed files with 14454 additions and 8085 deletions

View File

@@ -0,0 +1,17 @@
# "Search files for Front-End"
This plugin adds a few functions for searching files used in Front-End web development.
To use it, add `sfffe` to the plugins array in your zshrc file:
```zsh
plugins=(... sfffe)
```
**Requires:** `ack`
## Functions
- `ajs`: look for string in `.js` files.
- `acss`: look for string in `.css` files.
- `fjs`: search for `.js` files under the current working directory.
- `fcss`: search for `.css` files under the current working directory.

View File

@@ -6,9 +6,9 @@
# REQUIRE: ack
# ------------------------------------------------------------------------------
if [ ! -x $(which ack) ]; then
echo \'ack\' is not installed!
exit -1
if (( ! $+commands[ack] )); then
echo "'ack' is not installed!"
return
fi
ajs() {