diff options
author | Mike Crute <mike@crute.us> | 2020-01-16 17:19:28 -0800 |
---|---|---|
committer | Mike Crute <mike@crute.us> | 2020-01-16 17:19:33 -0800 |
commit | c3fb2f9a82e901b031121922e3bbca86fa4b8189 (patch) | |
tree | 042466ae6fb45f90b5293cbb97fc9760ab484b71 /.bashrc | |
parent | 0a780e27424765a14b4746e14868cf83030234df (diff) | |
download | dotfiles-c3fb2f9a82e901b031121922e3bbca86fa4b8189.tar.bz2 dotfiles-c3fb2f9a82e901b031121922e3bbca86fa4b8189.tar.xz dotfiles-c3fb2f9a82e901b031121922e3bbca86fa4b8189.zip |
Add xcopy alias
Diffstat (limited to '.bashrc')
-rw-r--r-- | .bashrc | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -340,6 +340,7 @@ fi | |||
340 | if have_command xclip; then | 340 | if have_command xclip; then |
341 | alias cliptm="tmux set-buffer -b buffer0000 \"\$(xclip -o -selection clipboard)\"" | 341 | alias cliptm="tmux set-buffer -b buffer0000 \"\$(xclip -o -selection clipboard)\"" |
342 | alias tmclip="tmux show-buffer 2>&1>/dev/null && tmux show-buffer | xclip -i -selection clipboard" | 342 | alias tmclip="tmux show-buffer 2>&1>/dev/null && tmux show-buffer | xclip -i -selection clipboard" |
343 | alias xcopy="xclip -i -selection clipboard" | ||
343 | elif have_command pbcopy; then | 344 | elif have_command pbcopy; then |
344 | alias cliptm="tmux set-buffer -b buffer0000 \"\$(pbpaste)\"" | 345 | alias cliptm="tmux set-buffer -b buffer0000 \"\$(pbpaste)\"" |
345 | alias tmclip="tmux show-buffer 2>&1>/dev/null && tmux show-buffer | pbcopy" | 346 | alias tmclip="tmux show-buffer 2>&1>/dev/null && tmux show-buffer | pbcopy" |