Browse Source

add setup selfupdate

pull/1/head
10sr 11 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

__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"
__homevar="$HOME/.var"
@@ -53,6 +51,15 @@ __homevar="$__homevar"
__EOC__
}

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

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

setup_selfupdate(){
curl $__setup_url
}

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

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

shift
done
}



Loading…
Cancel
Save