Skip to content

Commit

Permalink
Switch to direct execution via external script
Browse files Browse the repository at this point in the history
  • Loading branch information
isometry committed Sep 9, 2017
1 parent 35a74c6 commit ba60962
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 7 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
._*
*.py[cod]
*~
ssh.alfred3workflow
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
all:
zip -j9 --filesync ssh.alfred3workflow *.{plist,png,py}
4 changes: 2 additions & 2 deletions alfredssh.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python2.7
#-*- coding: utf-8 -*-
# ssh.alfredworkflow, v2.0
# Robin Breathe, 2013-2016
# ssh.alfredworkflow, v2.2
# Robin Breathe, 2013-2017

from __future__ import unicode_literals
from __future__ import print_function
Expand Down
18 changes: 13 additions & 5 deletions info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,14 @@
<dict>
<key>alfredfiltersresults</key>
<false/>
<key>alfredfiltersresultsmatchmode</key>
<integer>0</integer>
<key>argumenttrimmode</key>
<integer>0</integer>
<key>argumenttype</key>
<integer>0</integer>
<key>escaping</key>
<integer>4</integer>
<integer>0</integer>
<key>keyword</key>
<string>ssh</string>
<key>queuedelaycustom</key>
Expand All @@ -67,17 +71,17 @@
<key>runningsubtext</key>
<string>Please Wait: matching host…</string>
<key>script</key>
<string>/usr/bin/python2.7 -m alfredssh "$@"</string>
<string></string>
<key>scriptargtype</key>
<integer>1</integer>
<key>scriptfile</key>
<string></string>
<string>alfredssh.py</string>
<key>subtext</key>
<string>Open Secure SHell with smart hostname autocompletion</string>
<key>title</key>
<string>Open SSH</string>
<key>type</key>
<integer>0</integer>
<integer>8</integer>
<key>withspace</key>
<true/>
</dict>
Expand All @@ -95,6 +99,10 @@
<integer>0</integer>
<key>argument</key>
<integer>0</integer>
<key>focusedappvariable</key>
<false/>
<key>focusedappvariablename</key>
<string></string>
<key>hotkey</key>
<integer>41</integer>
<key>hotmod</key>
Expand Down Expand Up @@ -188,7 +196,7 @@ Notes:
<string>1</string>
</dict>
<key>version</key>
<string>2.1</string>
<string>2.2</string>
<key>webaddress</key>
<string>https://github.com/isometry/alfred-ssh</string>
</dict>
Expand Down

0 comments on commit ba60962

Please sign in to comment.