age: add nibble recipient, rekey secrets
This commit is contained in:
parent
0a1f58dc5d
commit
0bdaefcf97
6 changed files with 39 additions and 79 deletions
|
|
@ -6,8 +6,7 @@
|
|||
# starship, lazygit, yt-dlp, etc.)
|
||||
#
|
||||
# Also: install oh-my-zsh, zsh-autosuggestions, zsh-syntax-highlighting,
|
||||
# zsh-history-substring-search, fzf-tab, and the deja autosuggestion engine
|
||||
# (binary via official installer + plugin clone).
|
||||
# zsh-history-substring-search, fzf-tab.
|
||||
#
|
||||
# Runs as the unprivileged user, but uses sudo for system packages.
|
||||
#
|
||||
|
|
@ -278,30 +277,6 @@ install_zsh_plugin zsh-users/zsh-syntax-highlighting "$ZSH_CUSTOM/plugins/zsh
|
|||
install_zsh_plugin zsh-users/zsh-history-substring-search "$ZSH_CUSTOM/plugins/zsh-history-substring-search"
|
||||
install_zsh_plugin Aloxaf/fzf-tab "$ZSH_CUSTOM/plugins/fzf-tab"
|
||||
|
||||
install_zsh_plugin Giammarco-Ferranti/deja "$ZSH_CUSTOM/plugins/deja"
|
||||
# --------------------------- deja (predictive autosuggestions) -------------
|
||||
# Binary via the official installer (checksum-verified release tarball into
|
||||
# ~/.local/bin). SHELL is neutralized so the installer never appends its
|
||||
# activation block to .zshrc — the OMZ plugin cloned above handles that.
|
||||
# `deja import` seeds the suggestion DB from $HISTFILE (falls back to
|
||||
# ~/.zsh_history); safe to re-run, it dedupes.
|
||||
if command -v deja >/dev/null 2>&1; then
|
||||
log "deja already installed: $(deja --version 2>/dev/null | head -1)"
|
||||
else
|
||||
log "installing deja binary via official installer"
|
||||
if curl -fsSL https://raw.githubusercontent.com/Giammarco-Ferranti/deja/main/install.sh \
|
||||
| INSTALL_DIR="$USER_HOME/.local/bin" SHELL=/bin/sh sh; then
|
||||
log "deja installed"
|
||||
else
|
||||
log "WARNING: deja install failed; zsh-autosuggestions behavior will be absent. Retry manually."
|
||||
fi
|
||||
fi
|
||||
if command -v deja >/dev/null 2>&1 && [[ ! -s "$USER_HOME/.local/share/deja/deja.db" ]]; then
|
||||
log "seeding deja DB from shell history"
|
||||
HISTFILE="${HISTFILE:-$USER_HOME/.zsh_history}" deja import \
|
||||
|| log "WARNING: deja import failed; run 'deja import' in an interactive shell later."
|
||||
fi
|
||||
|
||||
# --------------------------- TPM (tmux plugin manager) ---------------------
|
||||
if [[ ! -d "$USER_HOME/.tmux/plugins/tpm" ]]; then
|
||||
log "cloning tmux plugin manager"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue