comparison rc/bashrc @ 731:4d037b0a9f41 default tip

[bashrc] Better FreeBSD compat with Windows Terminal Reference: https://github.com/microsoft/terminal/discussions/18332
author nanaya <me@nanaya.net>
date Wed, 08 Jan 2025 19:02:53 +0900
parents 3f0fd2156612
children
comparison
equal deleted inserted replaced
730:3e31009ab5cc 731:4d037b0a9f41
133 FreeBSD) 133 FreeBSD)
134 # Multi CPU awesomeness. 134 # Multi CPU awesomeness.
135 alias top="top -P" 135 alias top="top -P"
136 # The grep isn't GNU grep but supports all of its commands 136 # The grep isn't GNU grep but supports all of its commands
137 _has_gnu_grep=y 137 _has_gnu_grep=y
138 # The termcap on FreeBSD doesn't quite work well with Windows Terminal.
139 # Notably if tmux is started with xterm-256color, bold color stops working.
140 # This breaks status bar coloring but better than having half broken
141 # content.
142 [ xterm-256color = "${TERM}" ] && export TERM=xterm
138 ;; 143 ;;
139 NetBSD|DragonFly) 144 NetBSD|DragonFly)
140 # The grep isn't GNU grep but supports all of its commands 145 # The grep isn't GNU grep but supports all of its commands
141 _has_gnu_grep=y 146 _has_gnu_grep=y
142 ;; 147 ;;