Bug#928392: fzf: zsh integration doesn't work out of the box
Hi Bart, Thanks for the report, I've fixed the issue in git: https://salsa.debian.org/debian/fzf/commit/4a2c7dae658d91256bcb1ae7077dc7989532dbbe /usr/share/doc/fzf/examples is a conventional path for Debian to install things that should not be enabled by default. I think it's fine to not align installation path with Archlinux, as I have updated the instructions in README.Debian accordingly. On Wed, 28 Aug 2019 at 04:36, Bart Joy wrote: > > Package: fzf > Version: 0.18.0-2 > Followup-For: Bug #928392 > > Dear Maintainer, > > I notice that this package copies key-bindings.zsh and completion.zsh > to the following locations: > - /usr/share/doc/fzf/examples/key-bindings.zsh > - /usr/share/zsh/vendor-completions/_fzf > > However, in Arch, the files are copied to the following, different, > locations: > - /usr/share/fzf/key-bindings.zsh > - /usr/share/fzf/completion.zsh > > I don't believe that completion.zsh is a valid zsh completion file, but > is instead intended to be sourced. > > Would it be possible to update the package to match the Arch > installation locations, and update the README to instruct the user to > source both files? > > -- System Information: > Debian Release: bullseye/sid > APT prefers testing > APT policy: (500, 'testing') > Architecture: amd64 (x86_64) > > Kernel: Linux 5.2.0-2-amd64 (SMP w/8 CPU cores) > Locale: LANG=en_NZ.UTF-8, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8), > LANGUAGE=en_NZ:en (charmap=UTF-8) > Shell: /bin/sh linked to /usr/bin/dash > Init: systemd (via /run/systemd/system) > LSM: AppArmor: enabled > > Versions of packages fzf depends on: > ii libc6 2.28-10 > > fzf recommends no packages. > > fzf suggests no packages. > > -- no debconf information -- Best,
Bug#928392: fzf: zsh integration doesn't work out of the box
Package: fzf Version: 0.18.0-2 Followup-For: Bug #928392 Dear Maintainer, I notice that this package copies key-bindings.zsh and completion.zsh to the following locations: - /usr/share/doc/fzf/examples/key-bindings.zsh - /usr/share/zsh/vendor-completions/_fzf However, in Arch, the files are copied to the following, different, locations: - /usr/share/fzf/key-bindings.zsh - /usr/share/fzf/completion.zsh I don't believe that completion.zsh is a valid zsh completion file, but is instead intended to be sourced. Would it be possible to update the package to match the Arch installation locations, and update the README to instruct the user to source both files? -- System Information: Debian Release: bullseye/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 5.2.0-2-amd64 (SMP w/8 CPU cores) Locale: LANG=en_NZ.UTF-8, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8), LANGUAGE=en_NZ:en (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages fzf depends on: ii libc6 2.28-10 fzf recommends no packages. fzf suggests no packages. -- no debconf information
Bug#928392: fzf: zsh integration doesn't work out of the box
Hi Sean, An official Debian package cannot edit your .zshrc file. A quick instruction for zsh integration can be found here: /usr/share/doc/fzf/README.Debian which is a standard location for notes. And the it is already pointed out in fzf's description. $ apt show fzf Package: fzf Version: 0.18.0-1 Built-Using: golang-1.11 (= 1.11.6-1), golang-github-mattn-go-isatty (= 0.0.4-1), golang-github-mattn-go-runewidth (= 0.0.4-1), golang-github-mattn-go-shellwords (= 1.0.3-1), golang-go.crypto (= 1:0.0~git20181203.505ab14-1), golang-golang-x-sys (= 0.0~git20181228.9a3f9b0-1) Priority: optional Section: utils Maintainer: Mo Zhou Installed-Size: 3,031 kB Depends: libc6 (>= 2.3.2) Homepage: https://github.com/junegunn/fzf Download-Size: 928 kB APT-Manual-Installed: yes APT-Sources: https://mirrors.ustc.edu.cn/debian experimental/main amd64 Packages Description: general-purpose command-line fuzzy finder It's an interactive Unix filter for command-line that can be used with any list; files, command history, processes, hostnames, bookmarks, git commits, etc. . Refer /usr/share/doc/fzf/README.Debian for quick instructions on how to add keybindings for Bash, Zsh, Fish to call fzf. On Fri, 3 May 2019 at 15:00, Sean Haugh wrote: > > Package: fzf > Version: 0.17.5-2+b10 > Severity: normal > > Hello, > > I can't seem to get fzf's zsh integration working. Namely, trying to > fuzzily complete path names does not succeed. Are there additional steps > to take to install the zsh integration? > -- Best,
Bug#928392: fzf: zsh integration doesn't work out of the box
Package: fzf Version: 0.17.5-2+b10 Severity: normal Hello, I can't seem to get fzf's zsh integration working. Namely, trying to fuzzily complete path names does not succeed. Are there additional steps to take to install the zsh integration? -- System Information: Debian Release: buster/sid APT prefers testing APT policy: (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 4.19.0-4-amd64 (SMP w/2 CPU cores) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages fzf depends on: ii libc6 2.28-8 fzf recommends no packages. fzf suggests no packages. -- no debconf information