This commit is contained in:
LinuxSquare 2024-01-11 20:02:56 +01:00
parent 700a4ecf14
commit d8d2a5f7ef

View file

@ -6,10 +6,10 @@ umask 022
# use nicer PS1 for bash and busybox ash
if [ -n "$BASH_VERSION" -o "$BB_ASH_VERSION" ]; then
PS1='\h:\w\$ '
PS1='[%n@%m %~]%# '
# use nicer PS1 for zsh
elif [ -n "$ZSH_VERSION" ]; then
PS1='%m:%~%# '
PS1='[%n@%m %~]%# '
# set up fallback default PS1
else
: "${HOSTNAME:=$(hostname)}"