mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
themes/prose: remove the battery charge prompt
This commit is contained in:
parent
edda7793d5
commit
c279e2af8f
1 changed files with 0 additions and 6 deletions
|
|
@ -4,10 +4,6 @@ function prompt_char {
|
|||
echo '○'
|
||||
}
|
||||
|
||||
function battery_charge {
|
||||
echo `$BAT_CHARGE` 2>/dev/null
|
||||
}
|
||||
|
||||
function virtualenv_info {
|
||||
[ $VIRTUAL_ENV ] && echo '('`basename $VIRTUAL_ENV`') '
|
||||
}
|
||||
|
|
@ -24,8 +20,6 @@ PROMPT='
|
|||
%{$fg[magenta]%}%n%{$reset_color%} at %{$fg[yellow]%}%m%{$reset_color%} in %{$fg_bold[green]%}${PWD/#$HOME/~}%{$reset_color%}$(hg_prompt_info)$(git_prompt_info)
|
||||
$(virtualenv_info)$(prompt_char) '
|
||||
|
||||
RPROMPT='$(battery_charge)'
|
||||
|
||||
ZSH_THEME_GIT_PROMPT_PREFIX=" on %{$fg[magenta]%}"
|
||||
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
|
||||
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[green]%}!"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue