From 622e7b117b07c1e4d99cb025cc5fd07d72afa1f2 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 Signed-off-by: Sorin Ionescu --- modules/utility/init.zsh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/utility/init.zsh b/modules/utility/init.zsh index ea31138..42c2675 100644 --- a/modules/utility/init.zsh +++ b/modules/utility/init.zsh @@ -105,6 +105,11 @@ 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 o='cygstart' + 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'