diff rc/bashrc @ 694:92c1a021e8a1

[bashrc] Let's just assume it's been fixed in dfbsd
author nanaya <me@nanaya.pro>
date Sun, 23 Oct 2022 01:57:32 +0900
parents 37a2470380f2
children 26568ef0d05a
line wrap: on
line diff
--- a/rc/bashrc	Sun Oct 23 01:56:54 2022 +0900
+++ b/rc/bashrc	Sun Oct 23 01:57:32 2022 +0900
@@ -254,8 +254,7 @@
     PROMPT_COMMAND='echo -ne "\033]0;'"${USER:-${LOGNAME:-$USERNAME}}@$(uname -n)"': ${PWD}\007";'"${PROMPT_COMMAND}"
     if [ "${_uid}" = "0" ]; then
       PS1='\[\e[1;31m\]\u@\h:\w\$\[\e[0m\] '
-    elif [ "$(uname)" != "DragonFly" ]; then
-      # DragonFly's Bash is a bit buggy.
+    else
       PS1='\[\e[0;33m\]\u\[\e[0m\]@\[\e[0;32m\]\h\[\e[0m\]:\[\e[0;36m\]\w\[\e[0m\]\$ '
     fi
   ;;