]> git.sev.monster Git - dotfiles.git/blobdiff - etc/zsh/.zshrc
zprofile: print OKC if using okc-agent
[dotfiles.git] / etc / zsh / .zshrc
index 90f487058bbbd7b57710f9af6cf18b9eb13c25c3..d1d10ddb528e0bbcef30e58dfc3dffc92a30b2cb 100644 (file)
@@ -268,7 +268,12 @@ if [[ -v commands[zoxide] ]] {
 }
 alias cd..=up
 ## dotfiles
-alias dfu='d=${$(echo -E - ~/.zshenv):P:h:h};GIT_DIR=$d/.git GIT_WORK_TREE=$d git pull'
+alias dfu='d=${$(echo -E - ~/.zshenv):P:h:h};GIT_DIR=$d/.git GIT_WORK_TREE=$d {
+  git pull &&
+  git submodules init &&
+  git submodules sync &&
+  git submodules update
+}'
 
 ### hooks
 autoload -Uz add-zsh-hook
This page took 0.029631 seconds and 4 git commands to generate.