New backup 2024-12-10 14:00:02
This commit is contained in:
parent
4e4f7c5481
commit
4cd86033b7
1 changed files with 8 additions and 10 deletions
|
@ -1,8 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
export LC_CTYPE=en_US.UTF-8
|
|
||||||
export LC_ALL=en_US.UTF-8
|
|
||||||
|
|
||||||
hyfetch 2>/dev/null || true
|
hyfetch 2>/dev/null || true
|
||||||
|
|
||||||
# Quality of Life
|
# Quality of Life
|
||||||
|
@ -62,8 +59,8 @@ pushall() {
|
||||||
alias quickdeb='dpkg-buildpackage -b -tc'
|
alias quickdeb='dpkg-buildpackage -b -tc'
|
||||||
|
|
||||||
#apt update summary
|
#apt update summary
|
||||||
alias pm-apt-update="sudo apt update;apt list --upgradable"
|
alias pm-update="sudo apt update;apt list --upgradable"
|
||||||
alias pm-apt-upgrade="sudo apt update;sudo apt upgrade"
|
alias pm-upgrade="sudo apt update;sudo apt upgrade"
|
||||||
|
|
||||||
#User Env Vars
|
#User Env Vars
|
||||||
export DEBEMAIL="support@pogmom.me"
|
export DEBEMAIL="support@pogmom.me"
|
||||||
|
@ -81,15 +78,16 @@ GIT_AUTHOR_EMAIL="penelope@pogmom.me"
|
||||||
GIT_EDITOR="/usr/bin/nano"
|
GIT_EDITOR="/usr/bin/nano"
|
||||||
|
|
||||||
#Bash Prompt Customization
|
#Bash Prompt Customization
|
||||||
export prompt_prefix=""
|
prompt_prefix=""
|
||||||
if [ -n "${SSH_CLIENT}" ] || [ -n "${SSH_TTY}" ]; then
|
if [ -n "${SSH_CLIENT}" ] || [ -n "${SSH_TTY}" ]; then
|
||||||
export prompt_prefix="${prompt_prefix} [SSH] "
|
prompt_prefix="${prompt_prefix} [SSH] "
|
||||||
fi
|
fi
|
||||||
if [ "${HOSTNAME}" == "toolbox" ];then
|
if [ "$HOSTNAME" == "toolbox" ];then
|
||||||
export prompt_prefix="${prompt_prefix} [VM] "
|
prompt_prefix="${prompt_prefix} [VM] "
|
||||||
fi
|
fi
|
||||||
|
|
||||||
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\]\$ '
|
export prompt_prefix=`awk '{$1=$1};1' <<< "${prompt_prefix}"`
|
||||||
|
PS1='\[\e[1m\e[95m\]${prompt_prefix}\[\e[m\]${debian_chroot:+($debian_chroot)}\[\e[01;32m\]\u@\h\[\e[00m\]:\[\e[01;34m\]\w\[\e[00m\]\$ '
|
||||||
|
|
||||||
#Alacritty custom window title
|
#Alacritty custom window title
|
||||||
if [ "$TERM" = alacritty ];then
|
if [ "$TERM" = alacritty ];then
|
||||||
|
|
Loading…
Add table
Reference in a new issue