1
Fork 0

i am losing my mind

This commit is contained in:
caem 2025-01-24 13:24:38 +01:00
parent 64b58b7ad2
commit c837ffc34a
Signed by: caem
GPG key ID: 69A830D03203405F
2 changed files with 6 additions and 9 deletions

View file

@ -16,7 +16,11 @@ elif [[ "$path_no_ghostty" == *"/nix/store"* ]]; then
local nix_shell_ps1="$nix_shell_ps1_t"
fi
setopt prompt_subst
autoload -Uz vcs_info
zstyle ':vcs_info:*' enable git
precmd () { vcs_info }
zstyle ':vcs_info:*' formats " ${c34}${c0}${c31}(%b)${c0}"
# export PS1="${c38}[${c35}%3~${c0}${vcs_info_msg_0_}${nix_shell_ps1}${c38}]${c0}# "
export PS1="$vcs_info_msg_0_# "
echo "${vcs_info_msg_0_}"
export PS1="${c38}[${c35}%3~${c0}${vcs_info_msg_0_}${nix_shell_ps1}${c38}]${c0}# "

View file

@ -54,13 +54,6 @@
tree = "tre";
};
initExtraFirst = ''
setopt prompt_subst
autoload -Uz vcs_info
zstyle ':vcs_info:*' enable git
precmd () { vcs_info }
'';
initExtra = ''
alias -g -- -h='-h 2>&1 | bat --language=help --style=plain'
alias -g -- --help='--help 2>&1 | bat --language=help --style=plain'