From 80ded5e33d9d7b583f51f8c9ef4392d612d64366 Mon Sep 17 00:00:00 2001 From: Sorin Ionescu Date: Fri, 3 Jan 2014 14:46:30 -0500 Subject: [PATCH] Revert "Remove utility aliases for Cygwin" This reverts commit d368d0536b7e857b8bd98cb7f5f547bac8b96bac. --- modules/utility/init.zsh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/utility/init.zsh b/modules/utility/init.zsh index c1beee1..91c7809 100644 --- a/modules/utility/init.zsh +++ b/modules/utility/init.zsh @@ -104,6 +104,10 @@ alias sl='ls' # I often screw this up. # Mac OS X Everywhere if [[ "$OSTYPE" == darwin* ]]; then alias o='open' +elif [[ "$OSTYPE" == cygwin* ]]; then + alias o='cygstart' + alias pbcopy='tee > /dev/clipboard' + alias pbpaste='cat /dev/clipboard' else alias o='xdg-open'