X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/05175deb43e4643176c377b9c7d2fe828c9dae30..80612165af8557e0d1b82b5760a5c9c471d564dc:/.zsh/func/vcsh?ds=sidebyside diff --git a/.zsh/func/vcsh b/.zsh/func/vcsh index 655c9ea..cd6d205 100755 --- a/.zsh/func/vcsh +++ b/.zsh/func/vcsh @@ -32,9 +32,7 @@ if [ ! -d "$FGIT_BASE/${1}.git" ]; then fi export GIT_DIR="$FGIT_BASE/${1}.git" -local _WORKTREE="$(git config --get core.worktree)" -export GIT_WORK_TREE="$(readlink -f $GIT_DIR/$_WORKTREE)" -unset _WORKTREE +export GIT_WORK_TREE="$GIT_DIR/$(git config --get core.worktree)" git status