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.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/fpf +1 -3
  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` can prompt to auto-install it using a compatible detected manager.
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
- if ! confirm_action "fzf is not installed. Install it now using ${candidate_labels}?"; then
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}")"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fpf-cli",
3
- "version": "1.5.0",
3
+ "version": "1.6.0",
4
4
  "description": "Cross-platform fuzzy package finder powered by fzf",
5
5
  "bin": {
6
6
  "fpf": "fpf"