New backup 2025-09-04 17:30:01
This commit is contained in:
parent
de4db042f6
commit
86b78cc526
2 changed files with 8 additions and 3 deletions
|
@ -10,7 +10,8 @@ decorations = "None"
|
|||
[font]
|
||||
size = 11
|
||||
normal = { family = "OverpassM Nerd Font", style = "SemiBold" }
|
||||
offset = { x = 0, y = -4 }
|
||||
#offset = { x = 0, y = -4 }
|
||||
##offset = { x = 0, y = -3 }
|
||||
|
||||
[cursor]
|
||||
vi_mode_style = {shape = "Block", blinking = "Off"}
|
||||
|
|
|
@ -147,12 +147,16 @@ export PYENV_ROOT="$HOME/.pyenv"
|
|||
eval "$(pyenv init - bash)"
|
||||
|
||||
TPUT_RED="$(tput setaf 1)"
|
||||
TPUT_MAGENTA="$(tput setab 5)$(tput setaf 0)"
|
||||
TPUT_MAGENTA_BG="$(tput setab 5)$(tput setaf 0)"
|
||||
TPUT_MAGENTA="$(tput sgr0)$(tput setaf 5)"
|
||||
|
||||
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\]\n\$ '
|
||||
#PS1='\[\e[1m\e[95m\]${prompt_prefix}\[\e[m\]${debian_chroot:+($debian_chroot)}\[\e[01;32m\]\u@\h\[\e[00m\]:\[\e[01;34m\]$(pwd|sed "s|${HOME}|~|"|perl -pe "s/(?<!(^~))(\\/.*)(?=\\/.*\\/)/\\/…/s")\[\e[00m\]\n\$ '
|
||||
PS1='\[\e[1m\e[95m\]${prompt_prefix}\[\e[m\]${debian_chroot:+($debian_chroot)}\[${TPUT_MAGENTA} \u ${TPUT_RED}\[\e[00m\] \[\e[01;34m\]$(pwd|sed "s|${HOME}|~|"|perl -pe "s/(?<!(^~))(\\/.*)(?=\\/.*\\/)/\\/…/s")\[\e[00m\]\n\$ '
|
||||
|
||||
PS1='\[\e[1m\e[95m\]${prompt_prefix}\[\e[m\]${debian_chroot:+($debian_chroot)}\[${TPUT_MAGENTA_BG}▓▒░ \u${TPUT_MAGENTA} ${TPUT_RED}\[\e[00m\] \[\e[01;34m\]$(pwd|sed "s|${HOME}|~|"|perl -pe "s/(?<!(^~))(\\/.*)(?=\\/.*\\/)/\\/…/s")\[\e[00m\]\n\$ '
|
||||
#PS1='\[\e[1m\e[95m\]${prompt_prefix}\[\e[m\]${debian_chroot:+($debian_chroot)}\[${TPUT_MAGENTA_BG} \u${TPUT_MAGENTA} ${TPUT_RED}\[\e[00m\] \[\e[01;34m\]$(pwd|sed "s|${HOME}|~|"|perl -pe "s/(?<!(^~))(\\/.*)(?=\\/.*\\/)/\\/…/s")\[\e[00m\]\n\$ '
|
||||
|
||||
#PS1='\[\e[1m\e[95m\]${prompt_prefix}\[\e[m\]${debian_chroot:+($debian_chroot)}\[\e[01;32m\] \u ${TPUT_RED}\[\e[00m\] \[\e[01;34m\]$(pwd|sed "s|${HOME}|~|"|perl -pe "s/(?<!(^~))(\\/.*)(?=\\/.*\\/)/\\/…/s")\[\e[00m\]\n\$ '
|
||||
#PS1='\[\e[1m\e[95m\]${prompt_prefix}\[\e[m\]${debian_chroot:+($debian_chroot)}\[\e[01;32m\]\u@\h\[\e[00m\]:\[\e[01;34m\]$(pwd|sed "s|${HOME}|~|"|perl -pe "s/(?<!(^~))(\\/.*)(?=\\/.*\\/)/\\/…/s"|xargs printf "\\e]2;%s — Alacritty\007")\[\e[00m\]\n\$ '
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue