Commit 03bd9354 authored by Chaoting Liu's avatar Chaoting Liu

bash: enable 256color for screen term

parent 31378af2
Pipeline #4629 passed with stages
in 5 minutes and 36 seconds
......@@ -2,7 +2,7 @@ pkgname=bash
_basever=5.0
_patchlevel=011
pkgver=$_basever.$_patchlevel
pkgrel=1
pkgrel=2
pkgdesc="The GNU Bourne Again shell"
arch=('x86_64')
license=('GPL')
......@@ -24,7 +24,7 @@ sha1sums=('d116b469b9e6ea5264a74661d3a4c797da7f997b'
'3211397399c367a501d103d36abfe5c7cadfeab2'
'672c3c0c28c3642a5cff0e4093ff98359c747ff0'
'9fd0cfda5b85651169f8761a834941b1f6f53952'
'895ffd3f5c729271859a659c4ca17aefc3fda927'
'd87843b58b5a422cdf88c1df2da54d6ddd24644b'
'0bc4dc72ef407eefe27b6ba5b384ccddb3e0852b'
'9b8c7b32bf434d36b030c37b54fe8cebe54e2ab7'
'44a3a849a6826571115f9920405edeca3d8287ad'
......
......@@ -15,7 +15,7 @@ case ${TERM} in
PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033]0;%s@%s:%s\007" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/~}"'
;;
screen)
screen*)
PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033_%s@%s:%s\033\\" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/~}"'
;;
esac
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment