From 6ab107381192d2bbcca6042cd50ed36adbe70fbd Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Wed, 28 Dec 2022 16:20:39 +0330 Subject: update --- tmux/vcs_info.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'tmux') diff --git a/tmux/vcs_info.sh b/tmux/vcs_info.sh index 77773d6..ba8b6a8 100755 --- a/tmux/vcs_info.sh +++ b/tmux/vcs_info.sh @@ -23,6 +23,7 @@ tmux_path=$(get_tmux_cwd) # fi # done +cd "${tmux_path}" function gitadditions { if cd "${tmux_path}" && git rev-parse --git-dir >/dev/null 2>&1; then insertions=$(git --no-pager diff --numstat | awk '{sum1+=$1}END{print sum1}') -- cgit v1.2.3