1
0
Fork 0

use full path instead of \w in bash prompt

This commit is contained in:
Von Random 2017-03-06 12:20:55 +03:00
parent 254d449118
commit c2835a4120

2
bashrc
View file

@ -59,7 +59,7 @@ prompt_command()
else else
bang="${pred}>" bang="${pred}>"
fi fi
ps_line1="[ ${prompt_user}${HOSTNAME}:${pbold}\w${preset} ]" ps_line1="[ ${prompt_user}${HOSTNAME}:${pbold}$(pwd)${preset} ]"
ps_line2="${bang}${preset} " ps_line2="${bang}${preset} "
PS1="${ps_line1}\n${ps_line2}" PS1="${ps_line1}\n${ps_line2}"
} }