mirror of
https://github.com/frebib/dotfiles.git
synced 2024-06-14 12:57:23 +00:00
zsh: export secrets in interactive shells
This commit is contained in:
parent
0fc023db91
commit
7b418c2abc
@ -142,6 +142,13 @@ ZSH_HIGHLIGHT_STYLES[redirection]='fg=cyan,bold'
|
|||||||
|
|
||||||
source "$DOTFILES/aliases"
|
source "$DOTFILES/aliases"
|
||||||
|
|
||||||
|
# Source secret keys and values into environment
|
||||||
|
if [ -f "$XDG_CONFIG_HOME/secrets" ]; then
|
||||||
|
set -o allexport
|
||||||
|
source $XDG_CONFIG_HOME/secrets
|
||||||
|
set +o allexport
|
||||||
|
fi
|
||||||
|
|
||||||
# Load some manual plugins
|
# Load some manual plugins
|
||||||
source "$ZSH_DIR/plugins/sudo.zsh"
|
source "$ZSH_DIR/plugins/sudo.zsh"
|
||||||
source "$ZSH_DIR/plugins/fish-theme.zsh"
|
source "$ZSH_DIR/plugins/fish-theme.zsh"
|
||||||
|
Loading…
Reference in New Issue
Block a user