annual dotfiles push
This commit is contained in:
parent
5076968086
commit
7f3c29f8f3
12 changed files with 330 additions and 97 deletions
12
.local/bin/scripts/xcp
Executable file
12
.local/bin/scripts/xcp
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
#!/bin/sh
|
||||
|
||||
_fn() {
|
||||
perl -pe "chomp if eof" |
|
||||
xclip -selection clipboard
|
||||
}
|
||||
|
||||
if [ -n "$1" ]; then
|
||||
_fn < "$1"
|
||||
else
|
||||
_fn
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue