]> git.pld-linux.org Git - packages/fzf.git/blobdiff - install.patch
up to 0.43.0
[packages/fzf.git] / install.patch
index c00f800f081eb20d93d9e9c7224843c33f135738..3e55cef6a385be1b62f5ea5fd4b1ba64709393da 100644 (file)
@@ -1,5 +1,6 @@
 1. disable fish as not packaged and creates broken symlinks
 1. disabled download as we pre-package
+1. fix paths to completions
 
 --- fzf-0.34.0/install~        2022-09-30 09:21:44.085976824 +0300
 +++ fzf-0.34.0/install 2022-09-30 09:29:08.782477314 +0300
@@ -24,8 +25,8 @@
  binary_error=""
  case "$archi" in
 @@ -184,6 +185,10 @@
-   Windows*\ *64)   download fzf-$version-windows_amd64.zip    ;;
-   *)               binary_available=0 binary_error=1 ;;
+   Windows*\ *64)      download fzf-$version-windows_amd64.zip    ;;
+   *)                  binary_available=0 binary_error=1          ;;
  esac
 +}
 +
@@ -38,8 +39,8 @@
    src=${prefix_expand}.${shell}
    echo -n "Generate $src ... "
  
--  fzf_completion="[[ \$- == *i* ]] && source \"$fzf_base/shell/completion.${shell}\" 2> /dev/null"
-+  fzf_completion="[[ \$- == *i* ]] && source \"/usr/share/fzf/completion.${shell}\" 2> /dev/null"
+-  fzf_completion="source \"$fzf_base/shell/completion.${shell}\""
++  fzf_completion="source \"/usr/share/fzf/completion.${shell}\""
    if [ $auto_completion -eq 0 ]; then
      fzf_completion="# $fzf_completion"
    fi
This page took 0.051058 seconds and 4 git commands to generate.