diff --git a/zsh/1password.zsh b/zsh/1password.zsh new file mode 100644 index 0000000..95acdd8 --- /dev/null +++ b/zsh/1password.zsh @@ -0,0 +1,8 @@ +# +# 1Password CLI integration +# + +# Load 1Password CLI plugins if available. +if [ -f "$HOME/.config/op/plugins.sh" ]; then + source "$HOME/.config/op/plugins.sh" +fi diff --git a/zshrc b/zshrc index 186e036..aa8acc7 100644 --- a/zshrc +++ b/zshrc @@ -69,6 +69,8 @@ zinit light-mode wait lucid atload"!_zsh_autosuggest_start" \ # Completion # ============================================================================== +setopt completealiases + # Group completions by type under group headings zstyle ':completion:*' group-name '' zstyle ':completion:*:descriptions' format '%B%d%b' @@ -106,6 +108,7 @@ if [[ "$OSTYPE" == "darwin"* ]]; then source "$DOTZSH/macos.zsh"; fi if [[ "$OSTYPE" == "linux"* ]]; then source "$DOTZSH/linux.zsh"; fi # Utils +source "$DOTZSH/1password.zsh" source "$DOTZSH/emacs.zsh" source "$DOTZSH/fzf.zsh" source "$DOTZSH/jq.zsh"