From ca67e806a797945e81e686bdb4a700873a8fccec Mon Sep 17 00:00:00 2001 From: BarbUk Date: Fri, 18 Jun 2021 13:47:06 +0400 Subject: [PATCH] Always sort output --- snippy | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/snippy b/snippy index a770323..1f41c40 100755 --- a/snippy +++ b/snippy @@ -234,7 +234,8 @@ list() { find -L . -type "$type" \ | grep -vE '^\.$|\.git|\.gitconfig|\.gitkeep|\.gitignore' \ - | sed -e 's!\.\/!!' + | sed -e 's!\.\/!!' \ + | sort } add() {