diff --git a/etc/shell/bash/bashrc b/etc/shell/bash/bashrc index 75ca0e3..bbf7b46 100755 --- a/etc/shell/bash/bashrc +++ b/etc/shell/bash/bashrc @@ -1,6 +1,6 @@ #!/bin/bash #################################################################### # -# Изменён: Пт 21 фев 2020 14:24:30 +# Изменён: чт 09 июл 2020 11:42:42 # ################################################################################ @@ -225,9 +225,11 @@ esac [ -n "$SSH_CLIENT" ] && PROMPT_SHH="[${red}ssh${PROMPT_COLOR}]" -PS2="$green-> $rstc" -PS3="$green+> $rstc" -PS4="$green++ $rstc" +export PS2="$green-> $rstc" +export PS3="$green+> $rstc" + +# + filename.sh:00NN: function(): command +export PS4='$(printf "+ \033[1;32m%s:\033[0;36m%04d: \033[1;35m%s\033[00m" $(basename $BASH_SOURCE) $LINENO ${FUNCNAME[0]:+${FUNCNAME[0]}():\ })' short_pwd() { # echo -en '  '