From f9614c3202721c68199799efd57d51506be21870 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Fri, 22 Nov 2013 11:38:26 +0900 Subject: [PATCH] fix wget alias --- shrc | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/shrc b/shrc index 1123ff3..7153bf3 100755 --- a/shrc +++ b/shrc @@ -25,11 +25,6 @@ __match(){ # __firstload: true if this file is sourced for the first time (not so # assured) -alias isinteractive=false -__match "$-" i >/dev/null && alias isinteractive=true -# alias issourced=true -# expr "$0" : "^.*shrc$" >/dev/null && alias issourced=false # executed - __safe_add_path_r(){ test -d "$1" && PATH="${PATH}:$1" } @@ -109,6 +104,11 @@ then alias inzsh=true fi +alias isinteractive=false +__match "$-" i >/dev/null && alias isinteractive=true +# alias issourced=true +# expr "$0" : "^.*shrc$" >/dev/null && alias issourced=false # executed + ################################# # file pathes: @@ -432,6 +432,7 @@ null type htags && alias htags="htags --xhtml --symbol --line-number \ null type aunpack && alias au=aunpack null type lv && alias lv="lv|less" null type rsync && alias rs="rsync --progress --itemize-changes --compress" +iscygwin && null type wget && alias wget="wget --no-check-certificate" isdarwin && alias updatedb="LC_ALL=C updatedb" # do not use locate installed by macports