From 8ac6fdd0bcb7c754c3c9b6b7dae792faf2010a9f Mon Sep 17 00:00:00 2001 From: Penelope Gwen <pogmommy@pogmommy-dell-p135g.local> Date: Thu, 30 May 2024 23:53:18 -0600 Subject: [PATCH] New backup 2024-05-30 23:53:18 --- default/home/.sapphrc/default | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/default/home/.sapphrc/default b/default/home/.sapphrc/default index 5696f15..693dcb2 100755 --- a/default/home/.sapphrc/default +++ b/default/home/.sapphrc/default @@ -55,4 +55,14 @@ GIT_EDITOR="/usr/bin/nano" #. /usr/share/bash-completion/completions/quilt #complete -F _quilt_completion -o filenames dquilt -PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' +export ssh_prefix="" +if [ -n "$SSH_CLIENT" ] || [ -n "$SSH_TTY" ]; then + export ssh_prefix="[SSH] " +else + export ssh_prefix="" +fi + +#PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' +PS1='\[\e[1m\e[95m\]$ssh_prefix\[\e[m\]${debian_chroot:+($debian_chroot)}\[\e[01;32m\]\u@\h\[\e[00m\]:\[\e[01;34m\]\w\[\e[00m\]\$ ' + +bind TAB:menu-complete