add copy-path: copies the passed arguments to the clipboard
This commit is contained in:
parent
fceac85610
commit
412165297c
1 changed files with 6 additions and 0 deletions
6
.config/shell/bin/copy-path
Executable file
6
.config/shell/bin/copy-path
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/sh
|
||||
# copies the passed arguments to the clipboard
|
||||
|
||||
CLIPBOARD_MANAGER="${CLIPBOARD_MANAGER:-xsel -b}"
|
||||
|
||||
printf '%s ' "$@" | $CLIPBOARD_MANAGER
|
Loading…
Add table
Reference in a new issue