Commit graph

14 commits

Author SHA1 Message Date
rogarb
ec369bb38e
fix(bureau): properly display git stash info (#11711) 2023-05-24 14:32:26 +02:00
rogarb
444e715766
feat(bureau): ignore hidden git repos (#11707)
The git_prompt_info() function in lib/git.zsh ignores git repos which
contains a specific config key, allowing to effectively "hide" them from
the prompt. Unfortunately, the bureau theme doesn't use the library
function to build its prompt.

This commit modifies the specific prompt generation function in the
bureau theme in order to achieve the same behaviour.
2023-05-22 12:49:10 +02:00
Marc Cornellà
1e26ad1187
fix(bureau): fix top line space computation
Takes into account $ZLE_RPROMPT_INDENT and doesn't add the extra
space at the end so it doesn't bleed into the next line.
2022-02-07 17:57:59 +01:00
Marc Cornellà
74a3db75e4
perf(bureau): remove multiple grep calls in git status check 2022-02-07 17:55:16 +01:00
Harris Miller
9e9831fcf2
fix(bureau): fix never CLEAN git status (#10656)
Closes #10656
2022-02-07 17:54:02 +01:00
Marc Cornellà
8e973d42bd
fix(bureau): fix status variable name causing error (#10561)
Also cleaned up the code a bit

Fixes #10561
2022-01-03 17:05:48 +01:00
Marc Cornellà
43be5ea321
fix(bureau): quote % in git prompt function and remove global variables 2022-01-03 13:50:52 +01:00
Marc Cornellà
82a4587427 Use grep -q for silent behavior 2016-04-04 23:06:08 +02:00
Marc Cornellà
e1b04cfecd Fix logic of bureau_git_status function
This separates the gathering of file status, repository status and
stash.
2016-04-04 20:39:10 +02:00
isqua
e2bf7cb3df Fix checkmark for clean repo in bureau theme 2015-01-13 19:46:03 +03:00
DanielFGray
00ec11d3c0 ignore any grep aliases that might be defined 2014-11-16 02:47:35 -06:00
Clemens Werther
999bd355f7 fix root mode not working in bureau 2014-06-08 14:04:50 +02:00
Ryan Marsh
c3c8cc318d Fixes #2467 tab completion scrolls back in terminal when using bureau theme 2014-03-10 18:36:51 -05:00
isquariel
d34ab7f373 Added the Bureau theme 2013-11-08 23:26:25 +04:00