dot

packages and services management
Log | Files | Refs | README

commit f09e96359b953be364c81c810e45b0fcf03df6d7
parent 737debe1fb5ae2d26e0a90d6987b91a7038c5901
Author: Josuah Demangeon <mail@josuah.net>
Date:   Sat,  6 Jan 2018 12:59:05 +0100

tweaked lt

Diffstat:
Mbin/lt | 1-
Mbin/xdg-open | 3++-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/lt b/bin/lt @@ -8,7 +8,6 @@ case $# in (0) ;; (1) cd "$1" || exit 1 ;; (*) exit 1 ;; esac find . -name CVS -prune -o -name .git -prune -o \ -exec stat -f '%Sp %11z%t%N/' {} + | sort -u -t ' ' -k 2 | awk -v LINE='| ' -v NODE='|- ' -v TAIL='`- ' -v VOID=' ' ' - { count = split($0, path_v, "/") - 1; for (i = 2; i <= count; i++) diff --git a/bin/xdg-open b/bin/xdg-open @@ -177,7 +177,8 @@ esac ;; #--- media --------------------------------------------------------------------- (*.pdf) - exec mupdf "$1" + mupdf "$1" & + exit ;; (*.jpg|*.jpeg|*.png) exec feh -. "$1"