Add some clipboard aliases
This commit is contained in:
parent
f1bf69d50c
commit
cd506694e8
|
@ -106,3 +106,14 @@
|
||||||
loop: "{{ gnome_custom_keybindings }}"
|
loop: "{{ gnome_custom_keybindings }}"
|
||||||
loop_control:
|
loop_control:
|
||||||
index_var: index
|
index_var: index
|
||||||
|
|
||||||
|
- name: 'Shell: Clipboard aliases'
|
||||||
|
tags:
|
||||||
|
- config
|
||||||
|
- shell
|
||||||
|
copy:
|
||||||
|
content: |
|
||||||
|
[[ -x /usr/bin/copyq ]] && function pbpaste() { /usr/bin/copyq clipboard; } && export -f pbpaste
|
||||||
|
[[ -x /usr/bin/copyq ]] && function pbcopy() { /usr/bin/copyq add -; } && export -f pbcopy
|
||||||
|
dest: '~/.bashrc.d/alias.clipboard'
|
||||||
|
mode: '0400'
|
||||||
|
|
Loading…
Reference in a new issue