Re: Bash scripts without bashrc?

2016-09-17 Thread 1.61803
On Wednesday, September 14, 2016 at 8:39:50 PM UTC+2, Joseph Reagle wrote: > > The following doesn't work, iTerm is always in front of the Zim python > window. > As I said, you have to amend the name of the process, namely with the application you see in the Dock or the App Switcher, be it

Re: Bash scripts without bashrc?

2016-09-14 Thread Rob McBroom
On 14 Sep 2016, at 14:37, Joseph Reagle wrote: Digging a little more, in the action dialog in which "type" should I be doing the dragging? Applications? Files & Folders? I would expect both actions to appear under “Files & Folders”, but I usually do my re-ordering under “All Actions” so I

Re: Bash scripts without bashrc?

2016-09-14 Thread Joseph Reagle
The following doesn't work, iTerm is always in front of the Zim python window. ''' #!/bin/bash /usr/local/bin/python $HOME/bin/zim-0.65/zim.py & /usr/bin/osascript -e "tell application \"System Events\" to set frontmost of process \"Zim\" to true" ''' > > -- You received this message

Re: Bash scripts without bashrc?

2016-09-14 Thread Joseph Reagle
Digging a little more, in the action dialog in which "type" should I be doing the dragging? Applications? Files & Folders? When I type 'z' or 'zim' the icon is of a blank terminal with 'exe' in green on it. -- You received this message because you are subscribed to the Google Groups

Re: Bash scripts without bashrc?

2016-09-14 Thread Joseph Reagle
Weird, for some reason I lost the "run" option. I have "open", "reveal", and 19 other actions but no run -- You received this message because you are subscribed to the Google Groups "Quicksilver" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: Bash scripts without bashrc?

2016-09-13 Thread 1.61803
On Monday, September 12, 2016 at 2:05:43 PM UTC+2, Joseph Reagle wrote: > > 2. When I open zim using QS (which is a bash script, calling a python > script) zim always appears behind the other windows, is there a way to > foreground it automatically like other apps? > Try appending this to your

Re: Bash scripts without bashrc?

2016-09-12 Thread Rob McBroom
On 12 Sep 2016, at 8:05, Joseph Reagle wrote: Thanks Rob, I think this works! Two follow up questions: 1. Is there a way to make run the default action for scripts, rather than open? (Now I have to type zr to open Zim in this way.) Preferences → Actions It’s generally safe to drag the more

Re: Bash scripts without bashrc?

2016-09-12 Thread Joseph Reagle
On Sunday, September 11, 2016 at 12:09:17 PM UTC-4, Rob McBroom wrote: > > Try using the “Run […]” action. (The arguments in the third pane > are optional.) From glancing at the code, I think that one runs the > command outside a shell. > > That will just return the text (if any) to QS, which

Re: Bash scripts without bashrc?

2016-09-12 Thread Joseph Reagle
On Saturday, September 10, 2016 at 4:55:25 PM UTC-4, 1.61803 wrote: > > --norc option? It's in the man page. > Thanks, I tried various of this but the problem is that iTerm will run bashrc regardless. -- You received this message because you are subscribed to the Google Groups "Quicksilver"

Re: Bash scripts without bashrc?

2016-09-11 Thread Rob McBroom
On 10 Sep 2016, at 13:28, Joseph Reagle wrote: Hi, I love QS but I have one thing that annoys me. I've added $HOME/bin to my catalog so I can quickly invoke some shell scripts. However, they aren't interactive and just launch a java and a python app (in subfolders, and need some paths set