[Git-commits] [grml/grml-etc-core] 7d3c43: zshenv: switch preference order of lesspipe.sh vs ...

Michael Prokop mika at grml.org
Mon Sep 22 11:27:29 CEST 2014


  Branch: refs/heads/master
  Home:   https://github.com/grml/grml-etc-core
  Commit: 7d3c439ba4e7afa0537baf3f41bf7a38b326e0b1
      https://github.com/grml/grml-etc-core/commit/7d3c439ba4e7afa0537baf3f41bf7a38b326e0b1
  Author: Michael Prokop <mika at grml.org>
  Date:   2014-09-22 (Mon, 22 Sep 2014)

  Changed paths:
    M etc/zsh/zshenv

  Log Message:
  -----------
  zshenv: switch preference order of lesspipe.sh vs lesspipe

The lesspipe script as shipped by the less package itself seems
to be better maintained nowadays than the lesspipe.sh script
as shipped with the grml-script-core package.

While lesspipe.sh supports the "less $archive:$file" workflow to
display a file inside an archive, which isn't supported by
lesspipe yet, it sadly fails on more common tasks like with our
dchange function on recent Debian versions. E.g. 'dchange vim'
just displays:

| ==> append : to filename to view the UTF-8 encoded data

on Debian/jessie instead of displaying content of
/usr/share/doc/vim/changelog.Debian.gz.

While at it make the check for lesspipe path agnostic,
thanks Frank Terbeck <ft at grml.org> for assistance.




More information about the Git-commits mailing list