From c45eb237c6faa63cc97d30904a2ac5bf5025a216 Mon Sep 17 00:00:00 2001 From: Ayaz Badouraly <ayaz.badouraly@via.ecp.fr> Date: Thu, 29 Sep 2016 17:30:00 +0200 Subject: [PATCH] Fixing typo --- via.zsh-theme | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/via.zsh-theme b/via.zsh-theme index 79d32e5..ab57119 100644 --- a/via.zsh-theme +++ b/via.zsh-theme @@ -29,7 +29,7 @@ ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[green]%}" custom_git_prompt_info () { local ref - if [[ "$(command git config --get oh-my-zsh.hide-status 2>/dev/null)" != "1" ]] + if [[ "$(command git config --get oh-my-zsh.hide-status 2> /dev/null)" != "1" ]] then ref=$(command git symbolic-ref HEAD 2> /dev/null) || ref=$(command git rev-parse --short HEAD 2> /dev/null) || return 0 echo "$ZSH_THEME_GIT_PROMPT_PREFIX$(parse_git_dirty)${ref#refs/heads/}$ZSH_THEME_GIT_PROMPT_SUFFIX" -- GitLab