numerous changes

+ fish & bash completions
+ -w/--where option
M moved util_readf to _reve.sh
M linter-detected warnings fixed
M less variable clutter
This commit is contained in:
2024-08-25 00:50:57 +03:00
parent f9b7112d1e
commit f34494b5ea
4 changed files with 126 additions and 36 deletions

15
_reve.sh Normal file
View File

@@ -0,0 +1,15 @@
#!/usr/bin/env bash
# reve desktop environment framework
# Yigid BALABAN <fyb@fybx.dev> 2024
util_readf () {
local filename=$1
if [[ -f "$filename" ]]; then
cat "$filename"
else
echo "[reve] [E] util_readf: File not found: $filename" >&2
return 1
fi
}