From: Simon Ruderich Date: Wed, 13 Oct 2010 20:55:35 +0000 (+0200) Subject: zsh/rc: Remove OS X related settings. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=de8ff5bfd82dc08d229790edc326d05bb9888d6e;p=config%2Fdotfiles.git zsh/rc: Remove OS X related settings. --- diff --git a/zsh/rc b/zsh/rc index 6b42e00..da5edc4 100644 --- a/zsh/rc +++ b/zsh/rc @@ -591,23 +591,6 @@ if [[ $uname == Linux ]]; then export DEBEMAIL DEBFULLNAME='Simon Ruderich' export DEBFULLNAME - -elif [[ $uname == Darwin ]]; then # Mac OS X - # Store the current clipboard in CLIPBOARD before every command so it can - # be used in commands. - os_darwin_preexec() { - export CLIPBOARD="$(pbpaste)" - } - # Add the function as preexec hook. - add-zsh-hook preexec os_darwin_preexec - - # Initialize CLIPBOARD so it's available for completion directly after - # startup. - CLIPBOARD="" - export CLIPBOARD - - # Fetch current URL in clipboard with wget. - alias wnc='wget --no-proxy $CLIPBOARD' fi