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"