change prompt slightly

This commit is contained in:
cy 2024-11-29 20:12:54 -05:00
parent aaf3ce64dc
commit edeca3ae07

View file

@ -1,7 +1,7 @@
# Generated by Powerlevel10k configuration wizard on 2024-11-04 at 10:25 EST. # Generated by Powerlevel10k configuration wizard on 2024-11-29 at 19:54 EST.
# Based on romkatv/powerlevel10k/config/p10k-pure.zsh, checksum 07533. # Based on romkatv/powerlevel10k/config/p10k-pure.zsh.
# Wizard options: nerdfont-v3 + powerline, small icons, pure, original, rprompt, # Wizard options: nerdfont-v3 + powerline, small icons, pure, original, 2 lines,
# 12h time, 2 lines, compact, transient_prompt, instant_prompt=verbose. # compact, transient_prompt, instant_prompt=verbose.
# Type `p10k configure` to generate another config. # Type `p10k configure` to generate another config.
# #
# Config file for Powerlevel10k with the style of Pure (https://github.com/sindresorhus/pure). # Config file for Powerlevel10k with the style of Pure (https://github.com/sindresorhus/pure).
@ -49,23 +49,23 @@
# Left prompt segments. # Left prompt segments.
typeset -g POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=( typeset -g POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(
# =========================[ Line #1 ]========================= # =========================[ Line #1 ]=========================
# context # user@host context # user@host
dir # current directory dir # current directory
vcs # git status vcs # git status
# command_execution_time # previous command duration command_execution_time # previous command duration
# =========================[ Line #2 ]========================= # =========================[ Line #2 ]=========================
newline # \n newline # \n
# virtualenv # python virtual environment virtualenv # python virtual environment
prompt_char # prompt symbol prompt_char # prompt symbol
) )
# Right prompt segments. # Right prompt segments.
typeset -g POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=( typeset -g POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(
# =========================[ Line #1 ]========================= # =========================[ Line #1 ]=========================
command_execution_time # previous command duration # command_execution_time # previous command duration
virtualenv # python virtual environment # virtualenv # python virtual environment
context # user@host # context # user@host
# time # current time # time # current time
# =========================[ Line #2 ]========================= # =========================[ Line #2 ]=========================
newline # \n newline # \n
) )
@ -154,7 +154,7 @@
# Grey current time. # Grey current time.
typeset -g POWERLEVEL9K_TIME_FOREGROUND=$grey typeset -g POWERLEVEL9K_TIME_FOREGROUND=$grey
# Format for the current time: 09:51:02. See `man 3 strftime`. # Format for the current time: 09:51:02. See `man 3 strftime`.
typeset -g POWERLEVEL9K_TIME_FORMAT='%D{%I:%M:%S %p}' typeset -g POWERLEVEL9K_TIME_FORMAT='%D{%H:%M:%S}'
# If set to true, time will update when you hit enter. This way prompts for the past # If set to true, time will update when you hit enter. This way prompts for the past
# commands will contain the start times of their commands rather than the end times of # commands will contain the start times of their commands rather than the end times of
# their preceding commands. # their preceding commands.