21 lines · 367 B · Text
RawDownload
#!/bin/bash channel="$1" query=""case $channel in  stable)    ;;  preview)    query="&preview=1"    ;;  nightly)    query="&nightly=1"    ;;  *)    echo "this must be run on either of stable|preview|nightly release branches" >&2    exit 1    ;;esac curl -s "https://zed.dev/api/releases/latest?asset=zed&os=macos&arch=aarch64$query" | jq -r .version

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t