diff options
Diffstat (limited to '.profile')
-rw-r--r-- | .profile | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -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 |