dotfiles/.config/shell/bin/copy-path

6 lines
148 B
Bash
Executable file

#!/bin/sh
# copies the passed arguments to the clipboard
CLIPBOARD_MANAGER="${CLIPBOARD_MANAGER:-xsel -b}"
printf '%s ' "$@" | $CLIPBOARD_MANAGER