File tree 5 files changed +5
-5
lines changed
5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ Here's an example of a simple web search script with two arguments:
105
105
# @raycast.argument1 { "type": "text", "placeholder": "from city" }
106
106
# @raycast.argument2 { "type": "text", "placeholder": "to city" }
107
107
108
- open " https://www.google.com/search?q=flights from $1 to $2 "
108
+ open " https://www.google.com/search?q=flights%20from%20 ${1 // /% 20} %20to%20 ${1 // /% 20} "
109
109
```
110
110
111
111
* 💡Pro tip:* When typing alias + space, Raycast automatically will move focus to the first input field.
Original file line number Diff line number Diff line change 10
10
# @raycast.packageName Web Searches
11
11
# @raycast.argument1 { "type": "text", "placeholder": "query" }
12
12
13
- open " https://duckduckgo.com/?q=$1 "
13
+ open " https://duckduckgo.com/?q=${1 // /% 20} "
Original file line number Diff line number Diff line change 10
10
# @raycast.packageName Web Searches
11
11
# @raycast.argument1 { "type": "text", "placeholder": "query" }
12
12
13
- open " https://www.google.com/search?q=$1 "
13
+ open " https://www.google.com/search?q=${1 // /% 20} "
Original file line number Diff line number Diff line change 10
10
# @raycast.packageName Web Searches
11
11
# @raycast.argument1 { "type": "text", "placeholder": "query" }
12
12
13
- open " https://grep.app/search?q=$1 "
13
+ open " https://grep.app/search?q=${1 // /% 20} "
Original file line number Diff line number Diff line change 10
10
# @raycast.packageName Web Searches
11
11
# @raycast.argument1 { "type": "text", "placeholder": "query" }
12
12
13
- open " https://twitter.com/search?q=$1 &src=typed_query"
13
+ open " https://twitter.com/search?q=${1 // /% 20} &src=typed_query"
You can’t perform that action at this time.
0 commit comments