X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/05175deb43e4643176c377b9c7d2fe828c9dae30..3b0f6cf1458293c4ed7177d10133763c0300e806:/.zsh/func/vcsh 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