zsh: use wayland alternatives for copy and paste on linux

This commit is contained in:
Grigory Shipunov 2020-12-13 22:22:52 +01:00
parent 742050ea33
commit 68aa91f0e9
No known key found for this signature in database
GPG key ID: 77BB6C3E4771EE7C

6
.zshrc
View file

@ -54,8 +54,10 @@ case "$unamestr" in
;; ;;
"Linux") "Linux")
alias o="xdg-open" alias o="xdg-open"
alias cpy="xclip -selection clipboard" alias cpy="wl-copy"
alias pst="xclip -selection clipboard -o" alias pst="wl-paste"
alias xcpy="xclip -selection clipboard"
alias xpst="xclip -selection clipboard -o"
# use dircolors, if we have them # use dircolors, if we have them
if [[ -f $HOME/.dir_colors ]]; then if [[ -f $HOME/.dir_colors ]]; then