mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-10-25 23:27:34 +02:00
bashrc: also set the title for foot
This commit is contained in:
parent
bd0540f41d
commit
c3dcf48d4e
12
rc/bashrc
12
rc/bashrc
@ -95,12 +95,12 @@ else
|
||||
fi
|
||||
|
||||
# If this is an xterm set the title to user@host:dir
|
||||
#case "$TERM" in
|
||||
# xterm* | *rxvt*)
|
||||
# PS1="\[\e]0;\u@\h: \w\a\]$PS1"
|
||||
# ;;
|
||||
# *) ;;
|
||||
#esac
|
||||
case "$TERM" in
|
||||
xterm* | *rxvt* | foot*)
|
||||
PS1="\[\e]0;\u@\h: \w\a\]$PS1"
|
||||
;;
|
||||
*) ;;
|
||||
esac
|
||||
|
||||
if hash dircolors 2> /dev/null; then
|
||||
#test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user