Skip to repository content

tenant.openagents/omega

No repository description is available.

OpenAgents Git authority 2026-07-27T23:30:10.999Z Public web read
NIP-34 coordinate30617:7649603503856e5148d571eac2766b288a8ff1e9e35d380337a1d2b0015b4f92:omega
MaintainersHidden in public view
References2 branches · 1 tag
Read-only clonegit clone https://openagents.com/git/tenant.openagents/omega.git
Browse files

check-keymaps

27 lines · 726 B · text
1#!/usr/bin/env bash
2
3set -euo pipefail
4
5pattern='cmd-'
6result=$(git grep --no-color --line-number --fixed-strings -e "$pattern" -- \
7  'assets/keymaps/' \
8  ':(exclude)assets/keymaps/default-macos.json' \
9  ':(exclude)assets/keymaps/specific-overrides-macos.json' \
10  ':(exclude)assets/keymaps/macos/*.json' || true)
11
12if [[ -n "${result}" ]]; then
13  echo "${result}"
14  echo "Error: Found 'cmd-' in non-macOS keymap files."
15  exit 1
16fi
17
18pattern='super-|win-|fn-'
19result=$(git grep --no-color --line-number --fixed-strings -e "$pattern" -- \
20  'assets/keymaps/' || true)
21
22if [[ -n "${result}" ]]; then
23  echo "${result}"
24  echo "Error: Found 'super-', 'win-', or 'fn-' in keymap files. Currently these aren't used."
25  exit 1
26fi
27
Served at tenant.openagents/omega Member data and write actions are omitted.