about summary refs log tree commit diff
path: root/nixos/modules/programs
diff options
context:
space:
mode:
authornicoo <nicoo@mur.at>2023-09-09 13:52:43 +0000
committernicoo <nicoo@mur.at>2023-09-12 13:10:41 +0000
commit3222262ff1ca4f450c8466c60732eb4a6d274589 (patch)
tree3daa4102a0edddbe6b107d077010d6507c94da0a /nixos/modules/programs
parent49f1b36299f24a9c61e74a885dceb48bef06f539 (diff)
nixos/bash: Drop workarounds for eterm
Diffstat (limited to 'nixos/modules/programs')
-rw-r--r--nixos/modules/programs/bash/bash.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/programs/bash/bash.nix b/nixos/modules/programs/bash/bash.nix
index 286faeadc489d..7d3322ea5e50f 100644
--- a/nixos/modules/programs/bash/bash.nix
+++ b/nixos/modules/programs/bash/bash.nix
@@ -81,7 +81,7 @@ in
           if [ "$TERM" != "dumb" ] || [ -n "$INSIDE_EMACS" ]; then
             PROMPT_COLOR="1;31m"
             ((UID)) && PROMPT_COLOR="1;32m"
-            if [ -n "$INSIDE_EMACS" ] || [ "$TERM" = "eterm" ] || [ "$TERM" = "eterm-color" ]; then
+            if [ -n "$INSIDE_EMACS" ]; then
               # Emacs term mode doesn't support xterm title escape sequence (\e]0;)
               PS1="\n\[\033[$PROMPT_COLOR\][\u@\h:\w]\\$\[\033[0m\] "
             else