diff options
| author | Florian Fischer <muhq@muhq.space> | 2017-08-04 02:37:37 +0200 |
|---|---|---|
| committer | Florian Fischer <muhq@muhq.space> | 2017-08-04 02:37:37 +0200 |
| commit | 23ea135944cab0abc7dc7bb0b1dbc622bbd59e0e (patch) | |
| tree | 1696d38e31d1b47fe75d2089afe5a0c9e447570c /config/fish | |
| parent | 9a051e9ff562a7fdcffdb9d765d084822948f344 (diff) | |
| parent | a994b1c03298326f6003458e1a2026ee00ef51a9 (diff) | |
| download | dotfiles-23ea135944cab0abc7dc7bb0b1dbc622bbd59e0e.tar.gz dotfiles-23ea135944cab0abc7dc7bb0b1dbc622bbd59e0e.zip | |
Merge branch 'master' of https://github.com/fischerling/dotfiles
Diffstat (limited to 'config/fish')
| -rw-r--r-- | config/fish/functions/c2p.fish | 3 | ||||
| -rw-r--r-- | config/fish/functions/p2c.fish | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/config/fish/functions/c2p.fish b/config/fish/functions/c2p.fish new file mode 100644 index 0000000..e84b5e4 --- /dev/null +++ b/config/fish/functions/c2p.fish @@ -0,0 +1,3 @@ +function c2p --description 'Copy clipboard to primary selection' + xclip -o -selection clipboard | xclip -i -selection primary +end diff --git a/config/fish/functions/p2c.fish b/config/fish/functions/p2c.fish new file mode 100644 index 0000000..02072da --- /dev/null +++ b/config/fish/functions/p2c.fish @@ -0,0 +1,3 @@ +function p2c --description 'Copy primary selection to clipboard' + xclip -o -selection primary | xclip -i -selection clipboard +end |
