copy-path: remove trailing newline

This commit is contained in:
PowerUser64 2024-05-31 01:07:26 -07:00
parent d610a533b0
commit 4f6182db0a

View file

@ -5,4 +5,4 @@ CLIPBOARD_MANAGER="${CLIPBOARD_MANAGER:-xsel -b}"
for f; do
realpath "$f"
done | $CLIPBOARD_MANAGER
done | sed -z '$ s/\n$//' | $CLIPBOARD_MANAGER