From 4ec4c03033fb427c9e1960642c796d2caa7e1e99 Mon Sep 17 00:00:00 2001 From: Gaston Gonzalez Date: Wed, 25 Dec 2024 15:51:00 -0700 Subject: [PATCH] Shell - Added newline on terminal prompt to allow long directory paths --- overlay/etc/skel/.bash_profile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/overlay/etc/skel/.bash_profile b/overlay/etc/skel/.bash_profile index 61996bc..a8f6e2e 100644 --- a/overlay/etc/skel/.bash_profile +++ b/overlay/etc/skel/.bash_profile @@ -1,6 +1,6 @@ # Author : Gaston Gonzalez # Date : 23 April 2024 -# Updated : 5 November 2024 +# Updated : 25 December 2024 # Description : bash profile # All user accounts should be in the 'et-data' group to allow data sharing with @@ -21,10 +21,11 @@ GREEN='\x1B[1;32m' YELLOW='\x1B[1;33m' NC='\x1B[0m' +export PS1="\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\n\$ " + echo -e "${YELLOW}" cat /etc/motd echo -e "${NC}" export ET_USER_CONFIG=${HOME}/.config/emcomm-tools/user.json export ET_LOG_DIR=${HOME}/.local/share/emcomm-tools -