Jump to content
Acidham

Unexpected addition to Terminal Custom (Features > Terminal)

Recommended Posts

Not sure if this is a bug or change request.

Under Alfred > Features > Terminal it is possible to set Terminal to custom. 
 
q (on alfred_script(q)) returns "cd {query}" but it is not documented that Alfred adds  "cd  " in the beginning. Better would be that q contains just the query OR it is required to document hat Alfred adds "cd " in front of the query. 
 
FMPOV it would be better that q just contains the query and leave it up to the user to add "cd " or whatever. 
 
Alfre version 4.0.2

Share this post


Link to post

@Acidham Alfred shouldn't be adding cd to the front of the query. Could you please clarify a little, as I don't understand this:

 

8 hours ago, Acidham said:

q (on alfred_script(q)) returns "cd {query}"

 

What script do you have shown when you select Custom? By default, Alfred has this one:

on alfred_script(q)
	tell application "Terminal"
		activate
		do script q
	end tell
end alfred_script

Cheers,

Andrew

Share this post


Link to post

@Acidham "Browse in Terminal" will cd to the path you pass (or if you have the default terminal set, which I recommend if using Terminal.app, then it'll open the Terminal app to the specified path which is much faster).

 

If you just want to run a terminal command, use "Run Terminal Command"

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...