summaryrefslogtreecommitdiffstats
path: root/.profile
diff options
context:
space:
mode:
authorTyler Davis <tyler@gluecode.net>2023-08-25 16:05:07 -0700
committerTyler Davis <tyler@gluecode.net>2023-08-25 16:05:07 -0700
commit5cba1e04ab25c32e67a99ef05ed4dcd760a63ddd (patch)
tree82df7ced5d5d271194d97103ec5b7aea4ab7f964 /.profile
parent10a6cc7cd0e75784a219420c392d79227b968cb3 (diff)
downloaddotfiles-5cba1e04ab25c32e67a99ef05ed4dcd760a63ddd.tar.gz
dotfiles-5cba1e04ab25c32e67a99ef05ed4dcd760a63ddd.zip
sh: use new fetchgit function
Diffstat (limited to '.profile')
-rw-r--r--.profile4
1 files changed, 2 insertions, 2 deletions
diff --git a/.profile b/.profile
index b06c8d1..6d3c858 100644
--- a/.profile
+++ b/.profile
@@ -106,9 +106,9 @@ if [ "$(uname -s)" = "Darwin" ]; then
#upcode alias for quickly updating code where gitrect cannot
if [ "$(command -v fd)" ]; then
- alias upcode="fd -H -t d -E mod -E vendor '.git$' ~/.code -x bash -c \"cd {//}; ~/.local/bin/fetchgit;\""
+ alias upcode="fd -H -t d -E mod -E vendor '.git$' ~/.code -x fetchgit"
else
- alias upcode="find ~/.code -name \".git\" |xargs -n1 -I{} bash -c 'cd {}/..; ~/.local/bin/fetchgit; ' "
+ alias upcode="find ~/.code -name \".git\" |xargs -n1 fetchgit "
fi
fi
# === END OSX ===