Compare commits

..

No commits in common. "2bd7d59b3597074a4c77c184ad40474f7f3e208a" and "053f0e60058f76ce735351c3303f7eb6517b2591" have entirely different histories.

4 changed files with 6 additions and 5 deletions

View File

@ -1,5 +1,4 @@
enable-ssh-support enable-ssh-support
pinentry-program /usr/bin/pinentry-curses
## Tell the pinentry not to grab the keyboard and mouse. ## Tell the pinentry not to grab the keyboard and mouse.
## This option should in general not be used to avoid X-sniffing attacks. ## This option should in general not be used to avoid X-sniffing attacks.

2
package.json vendored
View File

@ -2,6 +2,6 @@
"devDependencies": { "devDependencies": {
"@aminda/global-prettier-config": "2024.28.4" "@aminda/global-prettier-config": "2024.28.4"
}, },
"packageManager": "pnpm@9.12.3+sha512.cce0f9de9c5a7c95bef944169cc5dfe8741abfb145078c0d508b868056848a87c81e626246cb60967cbd7fd29a6c062ef73ff840d96b3c86c40ac92cf4a813ee", "packageManager": "pnpm@9.12.2+sha512.22721b3a11f81661ae1ec68ce1a7b879425a1ca5b991c975b074ac220b187ce56c708fe5db69f4c962c989452eee76c82877f4ee80f474cebd61ee13461b6228",
"prettier": "@aminda/global-prettier-config" "prettier": "@aminda/global-prettier-config"
} }

View File

@ -323,6 +323,8 @@ fi
# https://github.com/Homebrew/brew # https://github.com/Homebrew/brew
if [ -d /home/linuxbrew/.linuxbrew/bin ]; then if [ -d /home/linuxbrew/.linuxbrew/bin ]; then
# https://www.junian.net/dev/macos-fix-zsh-compinit-insecure-directories/
(compaudit | xargs chmod g-w > /dev/null 2>&1 &)
eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv) eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
fi fi

View File

@ -116,9 +116,7 @@ bindkey -e
# Use modern completion system # Use modern completion system
autoload -Uz compinit autoload -Uz compinit
# -i = exclude insecure directories, -u would disable security checks compinit
# https://github.com/zsh-users/zsh/blob/zsh-5.9/Completion/compinit#L67-L72
compinit -i
zstyle ':completion:*' auto-description 'specify: %d' zstyle ':completion:*' auto-description 'specify: %d'
zstyle ':completion:*' completer _expand _complete _correct _approximate zstyle ':completion:*' completer _expand _complete _correct _approximate
@ -287,6 +285,8 @@ fi
# https://github.com/Homebrew/brew # https://github.com/Homebrew/brew
if [ -d /home/linuxbrew/.linuxbrew/bin ]; then if [ -d /home/linuxbrew/.linuxbrew/bin ]; then
# https://www.junian.net/dev/macos-fix-zsh-compinit-insecure-directories/
(compaudit | xargs chmod g-w > /dev/null 2>&1 &)
eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv) eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
fi fi