|
|
@ -147,9 +147,9 @@ __vte_osc7 () { |
|
|
|
# https://unix.stackexchange.com/questions/28827/why-is-my-bash-prompt-getting-bugged-when-i-browse-the-history#28828 |
|
|
|
|
|
|
|
VTE_INFO="${HOSTNAME:-}" |
|
|
|
if [[ $container == 'lxc' ]];then |
|
|
|
VTE_INFO="${container_hostname}.$(hostname)" |
|
|
|
fi |
|
|
|
if [[ $container == 'lxc' ]];then |
|
|
|
VTE_INFO="${container_hostname}" |
|
|
|
fi |
|
|
|
printf "\[\033]7;file://%s%s\a\]" "${VTE_INFO}" "$(__vte_urlencode "${PWD}")" |
|
|
|
|
|
|
|
|
|
|
|