Ver código fonte

add setup selfupdate

pull/1/head
10sr 11 anos atrás
pai
commit
5d3f4263b1
1 arquivos alterados com 11 adições e 4 exclusões
  1. +11
    -4
      setup.sh

+ 11
- 4
setup.sh Ver arquivo

@@ -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
}



Carregando…
Cancelar
Salvar