update neovim config AGAIN :(
This commit is contained in:
		@@ -1,19 +1,6 @@
 | 
			
		||||
#!/usr/bin/env bash
 | 
			
		||||
set -euo pipefail
 | 
			
		||||
 | 
			
		||||
# 1) load your shell exports if not already present:
 | 
			
		||||
#if [[ -z "${BW_SESSION:-}" ]]; then
 | 
			
		||||
  #[[ -f "$HOME/.bashrc"   ]] && source "$HOME/.bashrc"
 | 
			
		||||
  #[[ -f "$HOME/.profile" ]] && source "$HOME/.profile"
 | 
			
		||||
#fi
 | 
			
		||||
source ~/.local/share/sunhat/defaults/bash/api_keys
 | 
			
		||||
 | 
			
		||||
# 2) if still empty, unlock once and export:
 | 
			
		||||
#if [[ -z "${BW_SESSION:-}" ]]; then
 | 
			
		||||
  #export BW_SESSION=$(bw unlock --raw)
 | 
			
		||||
#fi
 | 
			
		||||
 | 
			
		||||
# 3) fetch and print user<TAB>pass<NEWLINE>
 | 
			
		||||
printf '%s\t%s\n' \
 | 
			
		||||
printf '%s\t%s' \
 | 
			
		||||
  "$(bw --session "$BW_SESSION" get username "$1")" \
 | 
			
		||||
  "$(bw --session "$BW_SESSION" get password "$1")"
 | 
			
		||||
 
 | 
			
		||||
@@ -77,19 +77,14 @@ matches:
 | 
			
		||||
  - trigger: "nextserver"
 | 
			
		||||
    replace: "'use server';\n\nconst Page = () => {\n\n};\n\nexport { Page };"
 | 
			
		||||
 | 
			
		||||
  #- trigger: ":adm"
 | 
			
		||||
    #replace: "cog\\administrator\tInfoTech-4193\n"
 | 
			
		||||
 | 
			
		||||
  - trigger: ":adm"
 | 
			
		||||
    replace: "{{output}}"
 | 
			
		||||
  - trigger: ":]]"
 | 
			
		||||
    replace: "{{output}}\n"
 | 
			
		||||
    vars:
 | 
			
		||||
      - name: output
 | 
			
		||||
        type: shell
 | 
			
		||||
        params:
 | 
			
		||||
          cmd: "~/.config/espanso/bin/get_login be3e756a-f18d-4bff-8f87-38ced7876eee"
 | 
			
		||||
          shell: bash
 | 
			
		||||
          trim: true
 | 
			
		||||
          debug: false
 | 
			
		||||
 | 
			
		||||
  # Frequent Misspellings
 | 
			
		||||
  - trigger: "yoututbe"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user