mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-27 13:49:22 +01:00
Compare commits
No commits in common. "2bd7d59b3597074a4c77c184ad40474f7f3e208a" and "053f0e60058f76ce735351c3303f7eb6517b2591" have entirely different histories.
2bd7d59b35
...
053f0e6005
@ -1,5 +1,4 @@
|
||||
enable-ssh-support
|
||||
pinentry-program /usr/bin/pinentry-curses
|
||||
|
||||
## Tell the pinentry not to grab the keyboard and mouse.
|
||||
## This option should in general not be used to avoid X-sniffing attacks.
|
||||
|
2
package.json
vendored
2
package.json
vendored
@ -2,6 +2,6 @@
|
||||
"devDependencies": {
|
||||
"@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"
|
||||
}
|
||||
|
@ -323,6 +323,8 @@ fi
|
||||
|
||||
# https://github.com/Homebrew/brew
|
||||
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)
|
||||
fi
|
||||
|
||||
|
6
rc/zshrc
6
rc/zshrc
@ -116,9 +116,7 @@ bindkey -e
|
||||
|
||||
# Use modern completion system
|
||||
autoload -Uz compinit
|
||||
# -i = exclude insecure directories, -u would disable security checks
|
||||
# https://github.com/zsh-users/zsh/blob/zsh-5.9/Completion/compinit#L67-L72
|
||||
compinit -i
|
||||
compinit
|
||||
|
||||
zstyle ':completion:*' auto-description 'specify: %d'
|
||||
zstyle ':completion:*' completer _expand _complete _correct _approximate
|
||||
@ -287,6 +285,8 @@ fi
|
||||
|
||||
# https://github.com/Homebrew/brew
|
||||
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)
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user