Package: ranger Version: 1.9.3-2 Severity: normal Tags: upstream Dear Maintainer,
I eojoyed to use ranger. I found a minor bug. Shell script "/usr/share/doc/ranger/examples/shell_automatic_cd.sh" does not work well. I took a look at the code. It wrote: ----- ranger_cd() { temp_file="$(mktemp -t "ranger_cd.XXXXXXXXXX")" ranger --choosedir="$temp_file" -- "${@:-$PWD}" if chosen_dir="$(cat -- "$temp_file")" && [ -n "$chosen_dir" ] && [ "$chosen_dir" != "$PWD" ]; then cd -- "$chosen_dir" fi rm -f -- "$temp_file" } # This binds Ctrl-O to ranger-cd: bind '"\C-o":"ranger-cd\C-m"' ----- ranger-cd is wrong. ranger_cd is correct. wrong; "-(hypen)" correct; "_(underscore)" That is why ctrl+o does not work. -- System Information: Debian Release: bullseye/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 5.6.0-1-amd64 (SMP w/8 CPU cores) Kernel taint flags: TAINT_WARN Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8), LANGUAGE=ja_JP.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages ranger depends on: ii python3 3.8.2-3 ii python3.8 3.8.3~rc1-1 ii sensible-utils 0.0.12+nmu1 Versions of packages ranger recommends: ii file 1:5.38-4 ii less 551-1 ii python3-chardet 3.0.4-7 ii w3m-img 0.5.3-38 Versions of packages ranger suggests: ii atool 0.39.0-10 ii caca-utils 0.99.beta19-2.1 ii highlight 3.41-2+b2 ii mediainfo 20.03-1 ii poppler-utils 0.71.0-6 ii python3-pygments 2.3.1+dfsg-3 ii sudo 1.8.31p1-1 pn unoconv <none> ii w3m 0.5.3-38 -- no debconf information -- debsums errors found: debsums: changed file /usr/share/doc/ranger/examples/shell_automatic_cd.sh (from ranger package)