Function: doom-modeline-segment--remote-host
doom-modeline-segment--remote-host is a natively compiled function
defined in doom-modeline-segments.el.
Signature
(doom-modeline-segment--remote-host)
Documentation
Hostname for remote buffers.
Source Code
;; Defined in /nix/store/1lcicrdd2r4b8rkc91nnn74ymk1jl6yd-emacs-packages-deps/share/emacs/site-lisp/elpa/doom-modeline-20260928.1632/doom-modeline-segments.el
;;
;; Remote host
;;
(doom-modeline-def-segment remote-host
"Hostname for remote buffers."
(when (and doom-modeline-remote-host default-directory)
(when-let* ((host (file-remote-p default-directory 'host)))
(propertize
(concat "@" host)
'face (doom-modeline-face 'doom-modeline-host)))))