mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 13:06:41 +00:00
feat: add 1Password CLI integration
This commit is contained in:
8
zsh/1password.zsh
Normal file
8
zsh/1password.zsh
Normal file
@@ -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
|
||||
3
zshrc
3
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"
|
||||
|
||||
Reference in New Issue
Block a user