X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=zsh%2Frc;h=da5edc4a98197024afc0b77a4d3df831e75166f1;hb=de8ff5bfd82dc08d229790edc326d05bb9888d6e;hp=36de9bb1d860ad784fa6de918e2ea217b2f6771e;hpb=e22dba1101a1100a18007e6dd0bbde11c9681dfb;p=config%2Fdotfiles.git diff --git a/zsh/rc b/zsh/rc index 36de9bb..da5edc4 100644 --- a/zsh/rc +++ b/zsh/rc @@ -340,7 +340,7 @@ if [[ $TERM == screen* || $TERM == xterm* || $TERM == rxvt* ]]; then # Ignore often used commands which are only running for a very short # time. This prevents a "blinking" name when it's changed to "cd" for # example and then some milliseconds later back to "zsh". - [[ $program_name == (cd*|ls|la|ll|clear|c) ]] && return + [[ $program_name == (cd*|d|ls|l|la|ll|clear|c) ]] && return # Change my shortcuts so the real name of the program is displayed. case $program_name in @@ -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