Commit 91e7653ded4e
Changed files (1)
dots
config
zsh
tools
dots/config/zsh/tools/lazyworktree.zsh
@@ -2,7 +2,8 @@
has lazyworktree || return
# Source shell functions (fast: ~0.4ms)
-local lw_functions="${commands[lazyworktree]:h:h}/share/lazyworktree/functions.zsh"
+# Resolve symlink for NixOS where commands[] points to /etc/profiles/per-user/...
+local lw_functions="${commands[lazyworktree]:A:h:h}/share/lazyworktree/functions.zsh"
[[ -f "$lw_functions" ]] && source "$lw_functions"
# Named repo shortcuts