Change install instructions and update function to handle git submodules
This commit is contained in:
@@ -20,7 +20,10 @@ For more information, check out the [wiki](http://github.com/justone/dotfiles/wi
|
|||||||
|
|
||||||
$ cd ~
|
$ cd ~
|
||||||
$ git clone https://github.com/Eragos/dotfiles.git .dotfiles
|
$ git clone https://github.com/Eragos/dotfiles.git .dotfiles
|
||||||
$ .dotfiles/bin/dfm install
|
$ cd .dotfiles
|
||||||
|
$ git submodule init
|
||||||
|
$ git submodule update
|
||||||
|
$ ./bin/dfm install
|
||||||
|
|
||||||
## Update
|
## Update
|
||||||
|
|
||||||
|
|||||||
@@ -19,6 +19,10 @@ udot() {
|
|||||||
echo -e "$info"
|
echo -e "$info"
|
||||||
echo -e ""
|
echo -e ""
|
||||||
|
|
||||||
|
echo -e "Update submodules..."
|
||||||
|
git submodule update
|
||||||
|
echo -e ""
|
||||||
|
|
||||||
if [ -z "$status" ]; then
|
if [ -z "$status" ]; then
|
||||||
echo -e "Local changes:"
|
echo -e "Local changes:"
|
||||||
echo -e "$gstatus"
|
echo -e "$gstatus"
|
||||||
|
|||||||
Reference in New Issue
Block a user