New backup 2024-12-10 13:45:02

This commit is contained in:
Penelope Gwen 2024-12-10 13:45:02 -08:00
parent a68b5c9304
commit 4e4f7c5481

View file

@ -1,5 +1,8 @@
#!/bin/bash
export LC_CTYPE=en_US.UTF-8
export LC_ALL=en_US.UTF-8
hyfetch 2>/dev/null || true
# Quality of Life
@ -77,20 +80,18 @@ GIT_AUTHOR_NAME="Penelope Gwen"
GIT_AUTHOR_EMAIL="penelope@pogmom.me"
GIT_EDITOR="/usr/bin/nano"
#alias dquilt="quilt --quiltrc=${HOME}/.quiltrc-dpkg"
#. /usr/share/bash-completion/completions/quilt
#complete -F _quilt_completion -o filenames dquilt
export ssh_prefix=""
if [ -n "$SSH_CLIENT" ] || [ -n "$SSH_TTY" ]; then
export ssh_prefix="[SSH] "
else
export ssh_prefix=""
#Bash Prompt Customization
export prompt_prefix=""
if [ -n "${SSH_CLIENT}" ] || [ -n "${SSH_TTY}" ]; then
export prompt_prefix="${prompt_prefix} [SSH] "
fi
if [ "${HOSTNAME}" == "toolbox" ];then
export prompt_prefix="${prompt_prefix} [VM] "
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\]\$ '
#Alacritty custom window title
if [ "$TERM" = alacritty ];then
PROMPT_COMMAND='ala_title=`pwd | sed "s|${HOME}|~|"`;echo -ne "\e]2;${ala_title} — Alacritty\007"'
fi