From de8ff5bfd82dc08d229790edc326d05bb9888d6e Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Wed, 13 Oct 2010 22:55:35 +0200 Subject: [PATCH] zsh/rc: Remove OS X related settings. --- zsh/rc | 17 ----------------- 1 file changed, 17 deletions(-) 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 -- 2.44.1