update copy-path

This commit is contained in:
PowerUser64 2024-09-08 19:56:59 -07:00
parent bf12e10c6d
commit 8fe0c46186

View file

@ -3,6 +3,10 @@
CLIPBOARD_MANAGER="${CLIPBOARD_MANAGER:-xsel -b}"
if [ $# -eq 0 ]; then
set -- "$(pwd)"
fi
for f; do
realpath "$f"
done | $CLIPBOARD_MANAGER