diff --git a/default/bash/fns/worktrees b/default/bash/fns/worktrees index 05fb5638..1dcd6353 100644 --- a/default/bash/fns/worktrees +++ b/default/bash/fns/worktrees @@ -17,7 +17,7 @@ ga() { # Remove worktree and branch from within active worktree directory. gd() { if gum confirm "Remove worktree and branch?"; then - local cwd base branch root + local cwd base branch root worktree cwd="$(pwd)" worktree="$(basename "$cwd")"