From 9e8bc9314c0a6127a20b7d125e0f8d02da3f1829 Mon Sep 17 00:00:00 2001 From: pvincent Date: Wed, 21 Apr 2021 22:06:13 +0400 Subject: [PATCH] fix install /bin/jq --- bash.bashrc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bash.bashrc b/bash.bashrc index 7c6216d..7b178f7 100644 --- a/bash.bashrc +++ b/bash.bashrc @@ -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}")"