This commit is contained in:
parent
fcfdc8a580
commit
a4e207ed74
1 changed files with 2 additions and 2 deletions
|
@ -16,13 +16,13 @@ delete_zet() {
|
|||
}
|
||||
|
||||
edit_zet() {
|
||||
query="$1"
|
||||
|
||||
file="${ZET_DIR}/${query}/index.adoc"
|
||||
|
||||
if [[ -f "$file" ]]; then
|
||||
"$EDITOR" "$file"
|
||||
else
|
||||
query="$1"
|
||||
|
||||
result="$(search_zets "$query")"
|
||||
result_count="$(echo "$result" | grep -c '^')"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue