diff options
Diffstat (limited to 'conf.d/05clipboard.fish')
| -rw-r--r-- | conf.d/05clipboard.fish | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/conf.d/05clipboard.fish b/conf.d/05clipboard.fish deleted file mode 100644 index de14a01..0000000 --- a/conf.d/05clipboard.fish +++ /dev/null @@ -1,14 +0,0 @@ -if status is-interactive; and not fish_is_root_user - -if set -q DISPLAY; and command -q xclip - alias ccpy 'xclip -i -selection clipboard' - alias cpst 'xclip -o -selection clipboard' -else if set -q WAYLAND_DISPLAY; and command -q wl-copy; and command -q wl-paste - alias ccpy 'wl-copy' - alias cpst 'wl-paste' -else if test (uname) = 'Darwin'; and command -q pbcopy; and command -q pbpaste - alias ccpy 'pbcopy' - alias cpst 'pbpaste' -end - -end |
