Skip to content

Commit ba60962

Browse files
committed
Switch to direct execution via external script
1 parent 35a74c6 commit ba60962

File tree

4 files changed

+18
-7
lines changed

4 files changed

+18
-7
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
._*
33
*.py[cod]
44
*~
5+
ssh.alfred3workflow

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
all:
2+
zip -j9 --filesync ssh.alfred3workflow *.{plist,png,py}

alfredssh.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env python2.7
22
#-*- coding: utf-8 -*-
3-
# ssh.alfredworkflow, v2.0
4-
# Robin Breathe, 2013-2016
3+
# ssh.alfredworkflow, v2.2
4+
# Robin Breathe, 2013-2017
55

66
from __future__ import unicode_literals
77
from __future__ import print_function

info.plist

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,14 @@
5050
<dict>
5151
<key>alfredfiltersresults</key>
5252
<false/>
53+
<key>alfredfiltersresultsmatchmode</key>
54+
<integer>0</integer>
55+
<key>argumenttrimmode</key>
56+
<integer>0</integer>
5357
<key>argumenttype</key>
5458
<integer>0</integer>
5559
<key>escaping</key>
56-
<integer>4</integer>
60+
<integer>0</integer>
5761
<key>keyword</key>
5862
<string>ssh</string>
5963
<key>queuedelaycustom</key>
@@ -67,17 +71,17 @@
6771
<key>runningsubtext</key>
6872
<string>Please Wait: matching host…</string>
6973
<key>script</key>
70-
<string>/usr/bin/python2.7 -m alfredssh "$@"</string>
74+
<string></string>
7175
<key>scriptargtype</key>
7276
<integer>1</integer>
7377
<key>scriptfile</key>
74-
<string></string>
78+
<string>alfredssh.py</string>
7579
<key>subtext</key>
7680
<string>Open Secure SHell with smart hostname autocompletion</string>
7781
<key>title</key>
7882
<string>Open SSH</string>
7983
<key>type</key>
80-
<integer>0</integer>
84+
<integer>8</integer>
8185
<key>withspace</key>
8286
<true/>
8387
</dict>
@@ -95,6 +99,10 @@
9599
<integer>0</integer>
96100
<key>argument</key>
97101
<integer>0</integer>
102+
<key>focusedappvariable</key>
103+
<false/>
104+
<key>focusedappvariablename</key>
105+
<string></string>
98106
<key>hotkey</key>
99107
<integer>41</integer>
100108
<key>hotmod</key>
@@ -188,7 +196,7 @@ Notes:
188196
<string>1</string>
189197
</dict>
190198
<key>version</key>
191-
<string>2.1</string>
199+
<string>2.2</string>
192200
<key>webaddress</key>
193201
<string>https://github.com/isometry/alfred-ssh</string>
194202
</dict>

0 commit comments

Comments
 (0)