mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-08 12:30:44 +02:00
Merge pull request #2699 from pentoo/updates20260219
zero-system: update zshrc to protect dircolors
This commit is contained in:
commit
084d92733b
1 changed files with 6 additions and 2 deletions
|
|
@ -26,7 +26,9 @@ HISTFILE=~/.zsh_history
|
|||
HISTSIZE=10000
|
||||
SAVEHIST=10000
|
||||
|
||||
eval $(dircolors -b /etc/DIR_COLORS)
|
||||
if [ -f '/etc/DIR_COLORS' ] && [ -x "$(command -v dircolors)" ]; then
|
||||
eval $(dircolors -b /etc/DIR_COLORS)
|
||||
fi
|
||||
|
||||
alias mv='nocorrect mv'
|
||||
alias cp='nocorrect cp'
|
||||
|
|
@ -138,7 +140,9 @@ if [ "${USER}" != "root" ]; then
|
|||
if [ ! -r ~/.ssh/gentoo_rsa ]; then
|
||||
printf "This system is missing your old key gentoo_rsa\n"
|
||||
fi
|
||||
eval $(keychain --eval --ignore-missing ~/.ssh/id_ed25519_sk_green ~/.ssh/id_ed25519_sk_rk_yk5cgreen ~/.ssh/id_ed25519_sk_red ~/.ssh/id_ed25519_sk_rk_yk5cred ~/.ssh/gentoo_rsa)
|
||||
if [ -x "$(command -v keychain)" ]; then
|
||||
eval $(keychain --eval --ignore-missing ~/.ssh/id_ed25519_sk_green ~/.ssh/id_ed25519_sk_rk_yk5cgreen ~/.ssh/id_ed25519_sk_red ~/.ssh/id_ed25519_sk_rk_yk5cred ~/.ssh/gentoo_rsa)
|
||||
fi
|
||||
|
||||
# https://github.com/drduh/YubiKey-Guide?tab=readme-ov-file#notes
|
||||
## This doesn't work but it should?
|
||||
|
|
|
|||
Loading…
Reference in a new issue