From 130373db63c8d16ccda32250430074099d2d6d9a Mon Sep 17 00:00:00 2001 From: dabruh <11458706-dabruh@users.noreply.gitlab.com> Date: Sun, 29 May 2022 15:52:04 +0200 Subject: [PATCH] Add git_prompt_string. --- .config/zsh/.zshrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index ea00008..c3c38b5 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -145,5 +145,6 @@ bindkey "$terminfo[kcud1]" history-substring-search-down bindkey '^[[A' history-substring-search-up bindkey '^[[B' history-substring-search-down +RPROMPT='$(git_prompt_string)' [ -f "$ZDOTDIR/completion" ] && . "$ZDOTDIR/completion" # Additional ZSH completion [ -f "${XDG_CONFIG_HOME:-$HOME/.config}/shell/aliasrc" ] && . "${XDG_CONFIG_HOME:-$HOME/.config}/shell/aliasrc"