Skip to repository content27 lines · 726 B · text
tenant.openagents/omega
No repository description is available.
OpenAgents Git authority 2026-07-28T00:29:53.510Z 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
check-keymaps
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