summaryrefslogtreecommitdiffstats
path: root/.profile
diff options
context:
space:
mode:
Diffstat (limited to '.profile')
-rw-r--r--.profile13
1 files changed, 7 insertions, 6 deletions
diff --git a/.profile b/.profile
index 5058ef0..d31ede7 100644
--- a/.profile
+++ b/.profile
@@ -43,12 +43,6 @@ if [ "$(uname -s)" = "Darwin" ]; then
# Unlock Keychain cli
alias unlock='security unlock-keychain ~/Library/Keychains/login.keychain'
- #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 fetchgit"
- else
- alias upcode="find ~/.code -name \".git\" |xargs -n1 fetchgit "
- fi
fi
# === END OSX ===
@@ -124,6 +118,13 @@ if [ "$(command -v ncdu)" ]; then
alias ncdu="ncdu --color=off"
fi
+#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 fetchgit"
+else
+ alias upcode="find ~/.code -name \".git\" |xargs -n1 fetchgit "
+fi
+
# Must put these after OSX setup so brew is part of the $PATH
# Colima / Podman
if [ $(command -v colima) ]; then