Pārlūkot izejas kodu

add setup selfupdate

pull/1/head
10sr pirms 11 gadiem
vecāks
revīzija
5d3f4263b1
1 mainītis faili ar 11 papildinājumiem un 4 dzēšanām
  1. +11
    -4
      setup.sh

+ 11
- 4
setup.sh Parādīt failu

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



Notiek ielāde…
Atcelt
Saglabāt