summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.bash_prompt6
1 files changed, 6 insertions, 0 deletions
diff --git a/.bash_prompt b/.bash_prompt
index a892c73..b42217f 100644
--- a/.bash_prompt
+++ b/.bash_prompt
@@ -6,6 +6,12 @@
# anything else: Never show hostname
+if [ "${TERM}" = "dumb" ]
+then
+ return
+fi
+
+
__show-hostname ()
{
case "${PS1_SHOWHOSTNAME}" in