diff options
Diffstat (limited to '.local/bin')
| -rwxr-xr-x | .local/bin/dotfiles | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.local/bin/dotfiles b/.local/bin/dotfiles index ae97ce8..54a214e 100755 --- a/.local/bin/dotfiles +++ b/.local/bin/dotfiles @@ -44,6 +44,14 @@ sync_mdformat() { fi } +link_browserpass_host() { + # Upstream-supported install of the Firefox native messaging host + # (symlinks the packaged manifest into ~/.mozilla/native-messaging-hosts/). + # Skips when browserpass isn't installed (pacman prompt declined). + [[ -f /usr/lib/browserpass/Makefile ]] || return 0 + make --directory=/usr/lib/browserpass hosts-firefox-user +} + build_and_install_nvim() { local src_dir="$HOME/.local/share/dotfiles/deps/neovim" local build_dir="$HOME/.local/share/nvim" @@ -110,6 +118,7 @@ sync) vim-language-server ) sync_deps "${deps[@]}" + link_browserpass_host sync_nvim sync_mdformat ;; |
