From 33fd9423c2ede02008cda7e4d574dcdb907457a6 Mon Sep 17 00:00:00 2001 From: Nicholas Hutchinson Date: Sat, 3 Aug 2013 10:32:43 +0100 Subject: [PATCH] Add utility aliases for Cygwin --- modules/utility/init.zsh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/utility/init.zsh b/modules/utility/init.zsh index ea31138c..7e958590 100644 --- a/modules/utility/init.zsh +++ b/modules/utility/init.zsh @@ -105,6 +105,12 @@ alias sl='ls' # I often screw this up. if [[ "$OSTYPE" == darwin* ]]; then alias o='open' alias get='curl --continue-at - --location --progress-bar --remote-name --remote-time' +elif [[ "$OSTYPE" == cygwin* ]]; then + alias open='cygstart' + alias o='open' + alias get='wget --continue --progress=bar --timestamping' + alias pbcopy='tee > /dev/clipboard' + alias pbpaste='cat /dev/clipboard' else alias o='xdg-open' alias get='wget --continue --progress=bar --timestamping'