depot/hosts/soda/shell-profile/soda-prompt.sh

8 lines
106 B
Bash
Raw Permalink Normal View History

2022-05-28 22:54:12 +03:00
if [ -n "${BASH_VERSION-}" ]; then
if test $(id -u) -eq 0; then
PS1='\h # '
else
PS1='\h % '
fi
fi