From 13a5681866700e7c2f183a7efca460e0a9c39f30 Mon Sep 17 00:00:00 2001 From: Aaron Fischer Date: Tue, 7 Dec 2021 22:23:07 +0100 Subject: [PATCH] Update 'zsh.config' --- zsh.config | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zsh.config b/zsh.config index d4f89e7..0789c7f 100644 --- a/zsh.config +++ b/zsh.config @@ -1,6 +1,6 @@ CSTATUS="" update_cstatus() { - git_stat=`cd /opt/tools/c/; git diff --shortstat | tr -c -d '[0-9,]'` + git_stat=`cd /opt/tools/c/repo; git diff --shortstat | tr -c -d '[0-9,]'` if [[ "$git_stat" = "" ]]; then CSTATUS="" else @@ -16,5 +16,5 @@ add-zsh-hook precmd update_cstatus setopt PROMPT_SUBST PS1='%T $CSTATUS %(?.%F{green}√.%F{red}?%?)%f %F{#666}%~%f %# ' -alias c="/opt/tools/c/c.sh" +alias c="/opt/tools/c/c.sh/c.sh"