Browse Source

add setup selfupdate

pull/1/head
10sr 10 years ago
parent
commit
5d3f4263b1
1 changed files with 11 additions and 4 deletions
  1. +11
    -4
      setup.sh

+ 11
- 4
setup.sh View File

@@ -2,9 +2,7 @@


# setup.sh --- 10sr setup script # setup.sh --- 10sr setup script


__setups="gitconf tmux scripts darwin dirs"

__setup_url="https://raw.github.com/10sr/dotfiles/master/setup.sh"
__setups="gitconf tmux scripts darwin dirs selfupdate"


__homelocal="$HOME/.local" __homelocal="$HOME/.local"
__homevar="$HOME/.var" __homevar="$HOME/.var"
@@ -53,6 +51,15 @@ __homevar="$__homevar"
__EOC__ __EOC__
} }


###############################
# selfupdate

__setup_url="https://raw.github.com/10sr/dotfiles/master/setup.sh"

setup_selfupdate(){
curl $__setup_url
}

################################ ################################
# git_configs # git_configs


@@ -261,9 +268,9 @@ main(){
setup_$c setup_$c
set +x set +x
fi fi
shift
done done


shift
done done
} }




Loading…
Cancel
Save