[dots] use -C flag instead of cd

This commit is contained in:
odrling 2022-09-29 01:33:39 +02:00
parent c2a93b2fbe
commit c6143b2d35
No known key found for this signature in database
GPG key ID: A0145F975F9F8B75

View file

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