shell: make copy-path copy the whole path

This commit is contained in:
PowerUser64 2024-05-22 22:38:49 -07:00
parent c9896d3714
commit 1f5d9778ac

View file

@ -3,4 +3,6 @@
CLIPBOARD_MANAGER="${CLIPBOARD_MANAGER:-xsel -b}"
printf '%s ' "$@" | $CLIPBOARD_MANAGER
for f; do
realpath "$f"
done | $CLIPBOARD_MANAGER