[dots] use -C flag instead of cd
This commit is contained in:
parent
c2a93b2fbe
commit
c6143b2d35
|
@ -1,8 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
echo updating submodules
|
||||
cd ~ # seems to break outside of worktree
|
||||
git submodule update --init --recursive --remote
|
||||
git -C ~ submodule update --init --recursive --remote
|
||||
|
||||
echo updating nvim
|
||||
vi +q
|
||||
|
|
Loading…
Reference in a new issue