# $DOTFILES/platforms/linux/zshrc
# Date: 2024-12-22
# Author: js0ny
# Sourced by user's zshrc if is Linux 在用户的 zshrc 中被引用
# Entry point in $DOTFILES/tools/zsh/common.zshrc (入口点)

if [ -n "$WAYLAND_DISPLAY" ]; then
  alias clip="wl-copy"
  alias paste="wl-paste"
elif [ -n "$DISPLAY" ]; then
  alias clip="xclip"
fi
