zsh: Re-implement pbcopy and pbpaste
This commit is contained in:
parent
374f036b79
commit
af1d0b4483
|
@ -22,6 +22,10 @@ alias sublime='open -a /Applications/Sublime\ Text.app "`pwd`"'
|
||||||
# Allow for pasting lines of code that start with a dollar sign.
|
# Allow for pasting lines of code that start with a dollar sign.
|
||||||
alias \$=''
|
alias \$=''
|
||||||
|
|
||||||
|
# Re-implement pbcopy and pbpaste from macOS.
|
||||||
|
alias pbcopy="xclip -selection clipboard"
|
||||||
|
alias pbpaste="xclip -selection clipboard -o"
|
||||||
|
|
||||||
# Include custom aliases
|
# Include custom aliases
|
||||||
if [[ -f ~/.aliases.local ]]; then
|
if [[ -f ~/.aliases.local ]]; then
|
||||||
source ~/.aliases.local
|
source ~/.aliases.local
|
||||||
|
|
Loading…
Reference in a new issue