New backup 2025-04-21 12:15:03
This commit is contained in:
parent
4fd9689bd7
commit
a5843297f1
1 changed files with 0 additions and 4 deletions
|
@ -125,11 +125,7 @@ PS1='\[\e[1m\e[95m\]${prompt_prefix}\[\e[m\]${debian_chroot:+($debian_chroot)}\[
|
|||
|
||||
#Alacritty custom window title
|
||||
if [ "$TERM" = alacritty ];then
|
||||
## pwd_length=14
|
||||
## pwd_symbol="…"
|
||||
# PROMPT_COMMAND='ala_title=`pwd | sed "s|${HOME}|~|"`;echo -ne "\e]2;${ala_title} — Alacritty\007"'
|
||||
PROMPT_COMMAND='pwd|sed "s|${HOME}|~|"|perl -pe "s/(?<!(^~))(\/.*)(?=\/.*\/)/\/…/s"|xargs printf "\e]2;%s — Alacritty\007"'
|
||||
## echo 'test'
|
||||
fi
|
||||
|
||||
bind TAB:menu-complete
|
||||
|
|
Loading…
Add table
Reference in a new issue