Browse Source

fix wget alias

pull/1/head
10sr 11 years ago
parent
commit
f9614c3202
1 changed files with 6 additions and 5 deletions
  1. +6
    -5
      shrc

+ 6
- 5
shrc View File

@@ -25,11 +25,6 @@ __match(){
# __firstload: true if this file is sourced for the first time (not so # __firstload: true if this file is sourced for the first time (not so
# assured) # 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(){ __safe_add_path_r(){
test -d "$1" && PATH="${PATH}:$1" test -d "$1" && PATH="${PATH}:$1"
} }
@@ -109,6 +104,11 @@ then
alias inzsh=true alias inzsh=true
fi 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: # file pathes:
@@ -432,6 +432,7 @@ null type htags && alias htags="htags --xhtml --symbol --line-number \
null type aunpack && alias au=aunpack null type aunpack && alias au=aunpack
null type lv && alias lv="lv|less" null type lv && alias lv="lv|less"
null type rsync && alias rs="rsync --progress --itemize-changes --compress" 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" isdarwin && alias updatedb="LC_ALL=C updatedb"
# do not use locate installed by macports # do not use locate installed by macports


Loading…
Cancel
Save