Skip to content

Commit

Permalink
Updated comments and removed "to linux"
Browse files Browse the repository at this point in the history
  • Loading branch information
tbhaxor authored Jan 9, 2021
1 parent d5c06ef commit b5a65a9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions aliases/available/clipboard.aliases.bash
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cite 'about-alias'
about-alias 'xclip shortcuts to linux'
about-alias 'xclip shortcuts'

if _command_exists xclip;
alias pbcopy="xclip -selection clipboard"
Expand All @@ -9,10 +9,10 @@ if _command_exists xclip;
alias xpst="xclip -selection clipboard -o"
fi
# to use it just install xclip on your distribution and it would work like:
# $ echo "hello" | pbcopy
# $ pbpaste
# $ echo "hello" | xcpy
# $ xpst
# hello

# very useful for things like:
# cat ~/.ssh/id_rsa.pub | pbcopy
# cat ~/.ssh/id_rsa.pub | xcpy
# have fun!

0 comments on commit b5a65a9

Please sign in to comment.