Skip to repository content26 lines · 497 B · shellscript
tenant.openagents/omega
No repository description is available.
OpenAgents Git authority 2026-07-28T04:13:53.009Z Public web read
NIP-34 coordinate
30617:7649603503856e5148d571eac2766b288a8ff1e9e35d380337a1d2b0015b4f92:omegaMaintainersHidden in public view
References2 branches · 1 tag
Read-only clone
git clone https://openagents.com/git/tenant.openagents/omega.gitBrowse files
zed.sh
1#!/usr/bin/env sh
2
3if [ "$ZED_WSL_DEBUG_INFO" = true ]; then
4 set -x
5fi
6
7ZED_PATH="$(dirname "$(realpath "$0")")"
8
9IN_WSL=false
10if [ -n "$WSL_DISTRO_NAME" ]; then
11 # $WSL_DISTRO_NAME is available since WSL builds 18362, also for WSL2
12 IN_WSL=true
13fi
14
15if [ $IN_WSL = true ]; then
16 WSL_USER="$USER"
17 if [ -z "$WSL_USER" ]; then
18 WSL_USER="$USERNAME"
19 fi
20 "$ZED_PATH/omega.exe" --wsl "$WSL_USER@$WSL_DISTRO_NAME" "$@"
21 exit $?
22else
23 "$ZED_PATH/omega.exe" "$@"
24 exit $?
25fi
26