From d8d2a5f7efac2deee9a5d51cb47a7f0120e7d185 Mon Sep 17 00:00:00 2001 From: LinuxSquare Date: Thu, 11 Jan 2024 20:02:56 +0100 Subject: [PATCH] Edit PS1 --- system/files/shell_profile.jinja | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/system/files/shell_profile.jinja b/system/files/shell_profile.jinja index e04b425..03d46ea 100644 --- a/system/files/shell_profile.jinja +++ b/system/files/shell_profile.jinja @@ -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)}" @@ -31,4 +31,4 @@ for script in /etc/profile.d/*.sh ; do . "$script" fi done -unset script \ No newline at end of file +unset script