fpf-cli 1.6.24 → 1.6.25

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 (2) hide show
  1. package/fpf +6 -2
  2. package/package.json +1 -1
package/fpf CHANGED
@@ -3,7 +3,7 @@
3
3
  set -euo pipefail
4
4
 
5
5
  SCRIPT_NAME="fpf"
6
- SCRIPT_VERSION="1.6.24"
6
+ SCRIPT_VERSION="1.6.25"
7
7
  TMP_ROOT="${TMPDIR:-/tmp}/fpf"
8
8
  SESSION_TMP_ROOT=""
9
9
  HELP_FILE=""
@@ -2815,7 +2815,11 @@ run_fuzzy_selector() {
2815
2815
  fi
2816
2816
 
2817
2817
  preview_cmd="FPF_SESSION_TMP_ROOT=$(printf '%q' "${SESSION_TMP_ROOT}") ${script_path} --preview-item --manager {1} -- {2}"
2818
- fzf_shell="$(command -v bash 2>/dev/null || true)"
2818
+ if command_exists bash; then
2819
+ fzf_shell="bash"
2820
+ else
2821
+ fzf_shell=""
2822
+ fi
2819
2823
 
2820
2824
  local -a fzf_args=()
2821
2825
  fzf_args=(-q "${query}" -m \
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fpf-cli",
3
- "version": "1.6.24",
3
+ "version": "1.6.25",
4
4
  "description": "Cross-platform fuzzy package finder powered by fzf",
5
5
  "bin": {
6
6
  "fpf": "fpf"