refactor: migrate all scripts and utils from bash to zsh (#3)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/bin/zsh
|
||||
|
||||
# Required parameters:
|
||||
# @raycast.schemaVersion 1
|
||||
@@ -1,9 +1,9 @@
|
||||
#!/bin/bash
|
||||
#!/bin/zsh
|
||||
|
||||
# Required parameters:
|
||||
# @raycast.schemaVersion 1
|
||||
# @raycast.title Get Graph User
|
||||
# @raycast.mode silent
|
||||
# @raycast.mode compact
|
||||
# @raycast.argument1 { "type": "text", "placeholder": "User ID or UPN" }
|
||||
|
||||
# Optional parameters:
|
||||
@@ -16,7 +16,7 @@
|
||||
USER_ID="$1"
|
||||
|
||||
# shellcheck source=/dev/null
|
||||
source "$HOME/Raycast/utils.sh"
|
||||
source "$HOME/Raycast/utils.zsh"
|
||||
load_env AZURE_TENANT_ID AZURE_CLIENT_ID AZURE_CLIENT_SECRET || exit 1
|
||||
|
||||
TOKEN_RESPONSE=$(curl -s -w "\n%{http_code}" \
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/bin/zsh
|
||||
|
||||
# Required parameters:
|
||||
# @raycast.schemaVersion 1
|
||||
@@ -14,7 +14,7 @@
|
||||
# @raycast.author Esteban Vincent
|
||||
|
||||
# shellcheck source=/dev/null
|
||||
source "$HOME/Raycast/utils.sh"
|
||||
source "$HOME/Raycast/utils.zsh"
|
||||
load_env N8N_WEBHOOK_BASE_URL N8N_WEBHOOK_IMGFLIP_API_KEY || exit 1
|
||||
|
||||
QUERY="$1"
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/bin/zsh
|
||||
|
||||
# Required parameters:
|
||||
# @raycast.schemaVersion 1
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/bin/zsh
|
||||
|
||||
# Required parameters:
|
||||
# @raycast.schemaVersion 1
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/bin/zsh
|
||||
|
||||
# Required parameters:
|
||||
# @raycast.schemaVersion 1
|
||||
Reference in New Issue
Block a user