Skip to content

Commit

Permalink
Changed zsh prompt like bash prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
rsherstnev committed Sep 17, 2024
1 parent 5093d3b commit 98f5df2
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions zsh/.zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ plugins=(
docker
rsync
python
pip
pipenv
pyenv
poetry
aliases
Expand Down Expand Up @@ -92,9 +90,9 @@ bindkey '^[[B' down-line-or-search
bindkey '^ ' autosuggest-accept

# Настройки Shell Prompt
export PROMPT='$FG[224]┌──(%F{29}%D{%T}$FG[224])-[$FG[167]%n$FG[217]@$FG[215]%M$FG[224]]-[$FG[109]%~$FG[224]] $(git_prompt_info)%{$reset_color%}
└─$FG[224]# '
export ZSH_THEME_GIT_PROMPT_PREFIX="$FG[145]git:[$FG[228]"
export PROMPT='[%B$FG[167]%n$FG[144]㉿$FG[216]%M $FG[109]%~%f%b] $(git_prompt_info)
%# '
export ZSH_THEME_GIT_PROMPT_PREFIX="%B$FG[145]git:[$FG[228]"
export ZSH_THEME_GIT_PROMPT_DIRTY="$FG[145]]:[$FG[228]✗$FG[145]] "
export ZSH_THEME_GIT_PROMPT_CLEAN="$FG[145]] "
export ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
Expand Down

0 comments on commit 98f5df2

Please sign in to comment.