mirror of
https://github.com/sadan4/dotfiles.git
synced 2025-01-18 11:13:30 -05:00
8 lines
No EOL
160 B
Bash
8 lines
No EOL
160 B
Bash
command -v xsel > /dev/null
|
|
if [[ $? -eq 0 ]]; then
|
|
xsel -ob && exit 0
|
|
fi
|
|
command -v wslclip > /dev/null
|
|
if [[ $? -eq 0 ]]; then
|
|
wslclip -g && exit 0
|
|
fi |