tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
nixos/bash: Drop workarounds for eterm
nicoo
2 years ago
3222262f
49f1b362
+1
-1
1 changed file
expand all
collapse all
unified
split
nixos
modules
programs
bash
bash.nix
+1
-1
nixos/modules/programs/bash/bash.nix
···
81
81
if [ "$TERM" != "dumb" ] || [ -n "$INSIDE_EMACS" ]; then
82
82
PROMPT_COLOR="1;31m"
83
83
((UID)) && PROMPT_COLOR="1;32m"
84
84
-
if [ -n "$INSIDE_EMACS" ] || [ "$TERM" = "eterm" ] || [ "$TERM" = "eterm-color" ]; then
84
84
+
if [ -n "$INSIDE_EMACS" ]; then
85
85
# Emacs term mode doesn't support xterm title escape sequence (\e]0;)
86
86
PS1="\n\[\033[$PROMPT_COLOR\][\u@\h:\w]\\$\[\033[0m\] "
87
87
else