From 979d49612d23444456c45ab90b600f3f2f26c3a5 Mon Sep 17 00:00:00 2001 From: Julian Prein Date: Wed, 22 Feb 2023 21:59:55 +0100 Subject: [PATCH] bin:shcwd: Sort reversely Sort the other way so that `/` is on the last line instead of the first. --- .local/bin/shcwd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.local/bin/shcwd b/.local/bin/shcwd index 7f6becc..6bda419 100755 --- a/.local/bin/shcwd +++ b/.local/bin/shcwd @@ -18,4 +18,4 @@ pgrep "$(basename $SHELL)" \ pwdx "$line" 2>/dev/null done \ | cut -d' ' -f2- \ - | sort -u + | sort -ur