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 # use nicer PS1 for bash and busybox ash
if [ -n "$BASH_VERSION" -o "$BB_ASH_VERSION" ]; then if [ -n "$BASH_VERSION" -o "$BB_ASH_VERSION" ]; then
PS1='\h:\w\$ ' PS1='[%n@%m %~]%# '
# use nicer PS1 for zsh # use nicer PS1 for zsh
elif [ -n "$ZSH_VERSION" ]; then elif [ -n "$ZSH_VERSION" ]; then
PS1='%m:%~%# ' PS1='[%n@%m %~]%# '
# set up fallback default PS1 # set up fallback default PS1
else else
: "${HOSTNAME:=$(hostname)}" : "${HOSTNAME:=$(hostname)}"
@ -31,4 +31,4 @@ for script in /etc/profile.d/*.sh ; do
. "$script" . "$script"
fi fi
done done
unset script unset script