@ 260802.2

260615.3 · 98792b1dab553d0ac9a206e40c10643d28cc57f5

*: a near complete overhaul of some fundamental components

Particularly, the `video` script and how Wingo boots. We consolidate much here and avoid separate init scripts for each machine. They were a huge pain to maintain and frequently got out of sync from one another.

We do still have some case analysis, which is annoying. But a foolish consistency is the hobgoblin of little minds.

reading declarations

Changes to bin/op-migrate-env.zsh. All files

bin/op-migrate-env.zsh

new file mode 100755@@ -0,0 +1,34 @@+#!/usr/bin/env zsh++append() {+  local entry="$1"+  local append="$2"+  { pass show $entry && echo "$append" } \+      | pass insert --multiline --force $entry+}++stale() {+  # local entry="$1"+  for entry; do+    append "$entry" 1STALE+  done+}++fin() {+  local entry="$1"+  append "$entry" 1PASS+}++_entry() {+  local store="${PASSWORD_STORE_DIR:-$HOME/.password-store}"+  local -a entries++  entries=("${store}"/**/*.gpg(N))+  entries=("${entries[@]#$store/}")+  entries=("${entries[@]%.gpg}")++  _describe 'pass entry' entries+}++compdef _entry stale+compdef _entry fin