diff options
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | README.md | 18 | ||||
| -rwxr-xr-x | sensitive | 15 |
3 files changed, 30 insertions, 4 deletions
@@ -8,3 +8,4 @@ tmuxp/* !tmuxp/main.yml config/nvim/lua/init_local.lua config/karabiner/automatic_backups/* +config/aerc/accounts.conf @@ -52,9 +52,19 @@ In order to specify the environment in the prompt, create a function called `env_info_provider` and echo your environment details (eg. `dev`, `staging`, `production`) -## CoC & Neovim +## LSP & Neovim -Additional scripts are providing for updating extensions in neovim. +For the LSP to work, some external dependencies might be needed. As some of +these depend on what version asdf has loaded, or specific projects, they're +not included by default. -After setting up nvim and installing plugins, you can run -`./add-coc-vim-extensions` to automatically add the extensions. +See [the nvim-lspconfig docs][lsp] for more info. +[lsp]: https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md + +## Private Files + +There are some potentially sensitive files included. They're PGP encrypted. If +you need them you can run `./sensitive`. To update them if they change, +run `./sensitive update` instead. + +For passwords, make sure you have setup the `pass` store. diff --git a/sensitive b/sensitive new file mode 100755 index 0000000..2c5c660 --- /dev/null +++ b/sensitive @@ -0,0 +1,15 @@ +#!/usr/bin/env bash + +sensitive_files=("config/aerc/accounts.conf") + +if [[ "$1" == "update" ]]; then + echo "Updating" + for sensitive_file in $sensitive_files; do + gpg --output $sensitive_file.gpg --encrypt --recipient ruben@unlimited.pizza $sensitive_file + done +else + echo "Decrypting" + for sensitive_file in $sensitive_files; do + gpg --output $sensitive_file --decrypt $sensitive_file.gpg + done +fi |