diff options
| author | Anton Bobov <abobov@gmail.com> | 2019-03-12 22:37:57 +0500 |
|---|---|---|
| committer | Anton Bobov <abobov@gmail.com> | 2019-03-12 22:39:59 +0500 |
| commit | 1d8313793754f0ebc504d590058e70be91431908 (patch) | |
| tree | 95101dbffaada5141385d231a61ce039ac195621 /files/.lessfilter.sh | |
| parent | 7a9a1c7f60fb400cc4f0d470bcc053992f1b7484 (diff) | |
zsh updates
Diffstat (limited to 'files/.lessfilter.sh')
| -rwxr-xr-x | files/.lessfilter.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/files/.lessfilter.sh b/files/.lessfilter.sh index 86d6833..9580bf6 100755 --- a/files/.lessfilter.sh +++ b/files/.lessfilter.sh @@ -4,6 +4,7 @@ case $1 in *.xml) if [ -x `which xmlstarlet 2>/dev/null` ]; then exec xmlstarlet fo "$1"; fi ;; *.json) if [ -x `which jq 2>/dev/null` ]; then exec jq -C . "$1"; fi ;; *.md) if [ -x `which pandoc 2>/dev/null` ]; then exec pandoc -t plain "$1"; fi ;; + *) exec /bin/lesspipe "$1";; esac exit 1 |
