fpf-cli 1.5.0 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/fpf +1 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -83,5 +83,5 @@ On Windows (Git Bash / MSYS / Cygwin), default auto mode uses installed Windows
|
|
|
83
83
|
## Notes
|
|
84
84
|
|
|
85
85
|
- Requires: `bash` + `fzf`
|
|
86
|
-
- If `fzf` is missing, `fpf`
|
|
86
|
+
- If `fzf` is missing, `fpf` auto-installs it using a compatible detected manager.
|
|
87
87
|
- Root managers (`apt`, `dnf`, `pacman`, `zypper`, `emerge`, `snap`) use `sudo` when needed.
|
package/fpf
CHANGED
|
@@ -212,9 +212,7 @@ ensure_fzf() {
|
|
|
212
212
|
local candidate_labels
|
|
213
213
|
candidate_labels="$(join_manager_labels "${candidates[@]-}")"
|
|
214
214
|
|
|
215
|
-
|
|
216
|
-
die "fzf is required"
|
|
217
|
-
fi
|
|
215
|
+
log "fzf is missing. Auto-installing with: ${candidate_labels}"
|
|
218
216
|
|
|
219
217
|
for manager in "${candidates[@]-}"; do
|
|
220
218
|
log "Attempting fzf install with $(manager_label "${manager}")"
|