mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-01 04:30:37 +02:00
Added command wrapper
This commit is contained in:
parent
6c7a045794
commit
d80d393aba
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ bureau_git_status() {
|
|||
}
|
||||
|
||||
bureau_git_prompt () {
|
||||
if git rev-parse --git-dir > /dev/null 2>&1; then
|
||||
if $(command git rev-parse --git-dir > /dev/null 2>&1); then
|
||||
local _branch=$(bureau_git_branch)
|
||||
local _status=$(bureau_git_status)
|
||||
local _result="$ZSH_THEME_GIT_PROMPT_PREFIX$_branch"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue