2022-04-29 07:46:52 +00:00
|
|
|
# Sensitive data through pass
|
|
|
|
matches:
|
2023-11-04 18:14:01 +00:00
|
|
|
- trigger: ";env"
|
|
|
|
replace: "{{output}}"
|
|
|
|
vars:
|
|
|
|
- name: output
|
|
|
|
type: shell
|
|
|
|
params:
|
|
|
|
cmd: env
|
|
|
|
shell: bash
|
|
|
|
debug: true
|
2022-05-03 12:37:40 +00:00
|
|
|
# {{{1 EMAILS
|
2022-05-11 16:28:31 +00:00
|
|
|
- trigger: ";ep"
|
2022-04-29 07:46:52 +00:00
|
|
|
replace: "{{output}}"
|
|
|
|
vars:
|
|
|
|
- name: output
|
|
|
|
type: shell
|
|
|
|
params:
|
2023-11-04 18:14:01 +00:00
|
|
|
cmd: PASSWORD_STORE_DIR=$HOME/.local/share/pass pass info/email/personal
|
2022-05-11 16:28:31 +00:00
|
|
|
- trigger: ";ec"
|
2022-04-29 07:46:52 +00:00
|
|
|
replace: "{{output}}"
|
|
|
|
vars:
|
|
|
|
- name: output
|
|
|
|
type: shell
|
|
|
|
params:
|
2023-11-04 18:14:01 +00:00
|
|
|
cmd: PASSWORD_STORE_DIR=$HOME/.local/share/pass pass info/email/church
|
2022-05-11 16:28:31 +00:00
|
|
|
- trigger: ";eu"
|
2022-04-29 07:46:52 +00:00
|
|
|
replace: "{{output}}"
|
|
|
|
vars:
|
|
|
|
- name: output
|
|
|
|
type: shell
|
|
|
|
params:
|
2023-11-04 18:14:01 +00:00
|
|
|
cmd: PASSWORD_STORE_DIR=$HOME/.local/share/pass pass info/email/uni
|
2022-05-11 16:28:31 +00:00
|
|
|
- trigger: ";eaur"
|
2022-04-29 07:46:52 +00:00
|
|
|
replace: "{{output}}"
|
|
|
|
vars:
|
|
|
|
- name: output
|
|
|
|
type: shell
|
|
|
|
params:
|
2023-11-04 18:14:01 +00:00
|
|
|
cmd: PASSWORD_STORE_DIR=$HOME/.local/share/pass pass info/email/aur
|
2022-05-03 12:37:40 +00:00
|
|
|
# {{{1 ADDRESS
|
2022-08-04 21:55:07 +00:00
|
|
|
- trigger: ";add"
|
|
|
|
replace: "{{output}}"
|
|
|
|
vars:
|
|
|
|
- name: output
|
|
|
|
type: shell
|
|
|
|
params:
|
2023-11-04 18:14:01 +00:00
|
|
|
cmd: PASSWORD_STORE_DIR=$HOME/.local/share/pass pass info/address
|
2022-08-04 21:55:07 +00:00
|
|
|
- triggers:
|
|
|
|
- ";adb"
|
|
|
|
- ";adt"
|
|
|
|
replace: "{{output}}"
|
|
|
|
vars:
|
|
|
|
- name: output
|
|
|
|
type: shell
|
|
|
|
params:
|
2023-11-04 18:14:01 +00:00
|
|
|
cmd: PASSWORD_STORE_DIR=$HOME/.local/share/pass pass info/address-bt
|
2022-08-04 21:55:07 +00:00
|
|
|
- triggers:
|
|
|
|
- ";adw"
|
|
|
|
- ";ads"
|
|
|
|
replace: "{{output}}"
|
|
|
|
vars:
|
|
|
|
- name: output
|
|
|
|
type: shell
|
|
|
|
params:
|
|
|
|
cmd: pass info/address-bt-short
|
2022-05-03 12:37:40 +00:00
|
|
|
# Postal name
|
2022-05-11 16:28:31 +00:00
|
|
|
- trigger: ";a0"
|
2022-04-29 07:46:52 +00:00
|
|
|
replace: "{{output}}"
|
|
|
|
vars:
|
|
|
|
- name: output
|
|
|
|
type: shell
|
|
|
|
params:
|
|
|
|
cmd: pass info/address | head -1
|
2022-05-03 12:37:40 +00:00
|
|
|
# Street Address
|
2022-05-11 16:28:31 +00:00
|
|
|
- trigger: ";a1"
|
2022-04-29 07:46:52 +00:00
|
|
|
replace: "{{output}}"
|
|
|
|
vars:
|
|
|
|
- name: output
|
|
|
|
type: shell
|
|
|
|
params:
|
|
|
|
cmd: pass info/address | head -2 | tail -1
|
2022-05-03 12:37:40 +00:00
|
|
|
# Street
|
2022-05-11 16:28:31 +00:00
|
|
|
- trigger: ";as"
|
2022-04-29 07:46:52 +00:00
|
|
|
replace: "{{output}}"
|
|
|
|
vars:
|
|
|
|
- name: output
|
|
|
|
type: shell
|
|
|
|
params:
|
|
|
|
cmd: "pass info/address | head -2 | tail -1 | cut -d' ' -f1"
|
2022-05-03 12:37:40 +00:00
|
|
|
# PLZ + City
|
2022-05-11 16:28:31 +00:00
|
|
|
- trigger: ";a2"
|
2022-04-29 07:46:52 +00:00
|
|
|
replace: "{{output}}"
|
|
|
|
vars:
|
|
|
|
- name: output
|
|
|
|
type: shell
|
|
|
|
params:
|
|
|
|
cmd: pass info/address | tail -1
|
2022-05-03 12:37:40 +00:00
|
|
|
# PLZ
|
2022-05-11 16:28:31 +00:00
|
|
|
- trigger: ";ap"
|
2022-04-29 07:46:52 +00:00
|
|
|
replace: "{{output}}"
|
|
|
|
vars:
|
|
|
|
- name: output
|
|
|
|
type: shell
|
|
|
|
params:
|
|
|
|
cmd: "pass info/address | tail -1 | cut -d' ' -f1"
|
2022-05-03 12:37:40 +00:00
|
|
|
# City
|
2022-05-11 16:28:31 +00:00
|
|
|
- trigger: ";ac"
|
2022-04-29 07:46:52 +00:00
|
|
|
replace: "{{output}}"
|
|
|
|
vars:
|
|
|
|
- name: output
|
|
|
|
type: shell
|
|
|
|
params:
|
|
|
|
cmd: "pass info/address | tail -1 | cut -d' ' -f2"
|
2022-08-04 21:55:07 +00:00
|
|
|
# {{{1 NUMBERS
|
2022-05-11 16:28:31 +00:00
|
|
|
- trigger: ";tel"
|
2022-04-29 07:46:52 +00:00
|
|
|
replace: "{{output}}"
|
|
|
|
vars:
|
|
|
|
- name: output
|
|
|
|
type: shell
|
|
|
|
params:
|
|
|
|
cmd: pass info/phone
|
2022-05-11 16:28:31 +00:00
|
|
|
- trigger: ";tax"
|
2022-04-29 07:46:52 +00:00
|
|
|
replace: "{{output}}"
|
|
|
|
vars:
|
|
|
|
- name: output
|
|
|
|
type: shell
|
|
|
|
params:
|
|
|
|
cmd: pass info/tax-id | head -1
|
2022-05-11 16:28:31 +00:00
|
|
|
- trigger: ";ss"
|
2022-04-29 07:46:52 +00:00
|
|
|
replace: "{{output}}"
|
|
|
|
vars:
|
|
|
|
- name: output
|
|
|
|
type: shell
|
|
|
|
params:
|
|
|
|
cmd: pass info/social-security | head -1
|
2022-05-11 16:28:31 +00:00
|
|
|
- trigger: ";sign"
|
2022-04-29 07:46:52 +00:00
|
|
|
replace: "{{output}}"
|
|
|
|
vars:
|
|
|
|
- name: output
|
|
|
|
type: shell
|
|
|
|
params:
|
|
|
|
cmd: pass info/signature
|
2022-05-11 16:28:31 +00:00
|
|
|
- trigger: ";iban"
|
2022-04-29 07:46:52 +00:00
|
|
|
replace: "{{output}}"
|
|
|
|
vars:
|
|
|
|
- name: output
|
|
|
|
type: shell
|
|
|
|
params:
|
|
|
|
cmd: pass info/banking/dkb | head -1
|
2022-05-03 12:37:40 +00:00
|
|
|
# {{{1 EXTRAS
|
2022-08-04 21:55:07 +00:00
|
|
|
# TODO turn into emacs template
|
2022-05-11 16:28:31 +00:00
|
|
|
- trigger: ";sigo"
|
2022-05-03 09:26:27 +00:00
|
|
|
replace: |-
|
|
|
|
#+ATTR_ORG: :width 200
|
|
|
|
#+ATTR_LATEX: :width 4cm :center nil
|
|
|
|
[[file:{{signature}}]] \\
|
|
|
|
{{name}}
|
|
|
|
vars:
|
|
|
|
- name: signature
|
|
|
|
type: match
|
|
|
|
params:
|
2022-05-11 16:28:31 +00:00
|
|
|
trigger: ";sign"
|
2022-05-03 09:26:27 +00:00
|
|
|
- name: name
|
|
|
|
type: match
|
|
|
|
params:
|
2022-05-11 16:28:31 +00:00
|
|
|
trigger: ";a0"
|