Skip to content

Commit 6e4824d

Browse files
valignatevproofit404
authored andcommitted
provide function for detecting generic ssh remote environments (#7)
1 parent 3eceeaf commit 6e4824d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pythonic.el

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,11 @@
4848
(and (pythonic-remote-p)
4949
(s-equals-p (pythonic-remote-method) "docker")))
5050

51+
(defun pythonic-remote-ssh-p ()
52+
"Determine ssh remote virtual environment."
53+
(and (pythonic-remote-p)
54+
(s-equals-p (pythonic-remote-method) "ssh")))
55+
5156
(defun pythonic-remote-vagrant-p ()
5257
"Determine vagrant remote virtual environment."
5358
(and (pythonic-remote-p)

0 commit comments

Comments
 (0)