This commit is contained in:
2026-04-04 06:25:34 +02:00
parent 93e8a13765
commit 18ac682f98
10 changed files with 56 additions and 40 deletions
@@ -1,7 +1,7 @@
# ssh with encrypted private keys
# $ssh_keys should be set in advance or left empty to use the default keys
if set -q ENABLE_GPG_AGENT_SSH; and test $ENABLE_GPG_AGENT_SSH != "0";\
if set -q UY_ENABLE_GPG_AGENT_SSH; and test $UY_ENABLE_GPG_AGENT_SSH != "0";\
and type -q gpg-init; and type -q gpgconf
true # do nothing
@@ -1,4 +1,10 @@
fpath=(~/.zfunc $fpath)
if [ -d "$HOME/.zfunc" ]; then
fpath=($HOME/.zfunc $fpath)
fi
if [ -d "$HOME/.zsh/completions" ]; then
fpath=($HOME/.zsh/completions $fpath)
fi
# Cache compinit: only regenerate dump once daily
autoload -Uz compinit
@@ -29,3 +29,9 @@ fi
# Catppuccin Mocha — autosuggestions color
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=#6c7086"
# Vscode shell integration
if (( $+commands[code] )) && [[ "$TERM_PROGRAM" == "vscode" ]]; then
source "$(code --locate-shell-integration-path zsh)"
fi
@@ -1,2 +0,0 @@
*
!.gitignore