Browse Source

bash: Добавлен цвет magenta

Maxim Likhachev 5 years ago
parent
commit
fc6dd58ce1
  1. 5
      etc/shell/bash/bashrc

5
etc/shell/bash/bashrc

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
#!/bin/bash ####################################################################
#
# Изменён: Вт 18 фев 2020 16:25:24
# Изменён: вт 18 фев 2020 16:55:34
#
################################################################################
@ -98,6 +98,7 @@ export VIMDIR=$SHELLRC/etc/soft/vim/vim @@ -98,6 +98,7 @@ export VIMDIR=$SHELLRC/etc/soft/vim/vim
#Настройка цветовых кодов
rstc="\033[00m"
magenta="\033[1;35m"
yellow="\033[1;33m"
blue="\033[1;36m"
red="\033[1;31m"
@ -189,7 +190,7 @@ PS1_HOST="─[${yellow}\h${PROMPT_COLOR}]${PROMPT_SHH}" @@ -189,7 +190,7 @@ PS1_HOST="─[${yellow}\h${PROMPT_COLOR}]${PROMPT_SHH}"
PS1_GIT="${blue}$(__ps1_git)${PROMPT_COLOR}"
PS1_LINE2="\n${PROMPT_COLOR}─[${PROMPT_COLOR}\t]\$ $rstc"
export PS1="${PS1_JOBS}${PS1_HOST}─[${red}${VIFM_SHELL}${yellow}\w${PROMPT_COLOR}${blue}\$(__ps1_git)${PROMPT_COLOR}]${PS1_LINE2}"
export PS1="${PS1_JOBS}${PS1_HOST}─[${red}${VIFM_SHELL}${yellow}\w${PROMPT_COLOR}${magenta}\$(__ps1_git)${PROMPT_COLOR}]${PS1_LINE2}"
unset PS1_JOBS PS1_HOST PS1_LINE1 PS1_LINE2

Loading…
Cancel
Save