Function: ghostel--ssh-install-enabled-p

ghostel--ssh-install-enabled-p is a natively compiled function defined in ghostel.el.

Signature

(ghostel--ssh-install-enabled-p)

Documentation

Return non-nil if remote terminfo install is enabled.

Honors ghostel-ssh-install-terminfo. Always nil when ghostel-term isn't "xterm-ghostty" — there's no point installing ghostty terminfo on remotes when we're not even claiming it locally.

Source Code

;; Defined in /nix/store/1252krff0gb2kisjcpp45m50cpdskfrl-emacs-packages-deps/share/emacs/site-lisp/ghostel.el
(defun ghostel--ssh-install-enabled-p ()
  "Return non-nil if remote terminfo install is enabled.
Honors `ghostel-ssh-install-terminfo'.  Always nil when
`ghostel-term' isn't \"xterm-ghostty\" — there's no point installing
ghostty terminfo on remotes when we're not even claiming it locally."
  (and (equal ghostel-term "xterm-ghostty")
       (pcase ghostel-ssh-install-terminfo
         ('auto (and ghostel-tramp-shell-integration t))
         ('nil  nil)
         (_     t))))