if test `uname` = "Darwin"; then
else
which xsel &> /dev/null && \
alias copy='xsel --clipboard --input' && \
alias paste='xsel --clipboard --output'
# prefer xclip if installed
which xclip &> /dev/null && \
alias copy='xclip -selection clipboard' && \
alias paste='xclip -selection clipboard -o'
fi
alias copy='xclip -selection clipboard' && \
alias fullcopy='xsel --clipboard --input' && \
MACOS_FUNCTIONS=$DOTFILES/zsh/macos_functions
fpath=($MACOS_FUNCTIONS $fpath)
for func in $(ls $MACOS_FUNCTIONS); do autoload $func; done;