Add additional ZSH env file for secrets
This commit is contained in:
parent
7685b52093
commit
84121f0012
|
@ -14,6 +14,11 @@ mkdir -p $HOME/.config/zsh/functions
|
||||||
ln -sfn $HOME/dev/dotfiles/zshenv $HOME/.zshenv
|
ln -sfn $HOME/dev/dotfiles/zshenv $HOME/.zshenv
|
||||||
ln -sfn $HOME/dev/dotfiles/zshrc $HOME/.config/zsh/.zshrc
|
ln -sfn $HOME/dev/dotfiles/zshrc $HOME/.config/zsh/.zshrc
|
||||||
|
|
||||||
|
secretsfile="$HOME/.config/zsh/.zshsecrets"
|
||||||
|
if [ ! -f "$secretsfile" ]; then
|
||||||
|
cp $HOME/dev/dotfiles/zshsecrets.example "$secretsfile"
|
||||||
|
fi
|
||||||
|
|
||||||
# Tmux
|
# Tmux
|
||||||
ln -sfn $HOME/dev/dotfiles/tmux.conf $HOME/.tmux.conf
|
ln -sfn $HOME/dev/dotfiles/tmux.conf $HOME/.tmux.conf
|
||||||
|
|
||||||
|
|
3
zshenv
3
zshenv
|
@ -35,4 +35,7 @@ export PATH=$HOME/bin:$PATH
|
||||||
export PATH=$HOME/.local/bin:$PATH
|
export PATH=$HOME/.local/bin:$PATH
|
||||||
export PATH=$HOME/script:$PATH
|
export PATH=$HOME/script:$PATH
|
||||||
|
|
||||||
|
# See `installdotfiles`:
|
||||||
|
source "$ZDOTDIR/.zshsecrets"
|
||||||
|
|
||||||
source "$HOME/.cargo/env"
|
source "$HOME/.cargo/env"
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
# secrets template
|
||||||
|
|
||||||
|
setopt ALL_EXPORT
|
||||||
|
|
||||||
|
GIT_NETFLUX_IO_TOKEN=
|
Loading…
Reference in New Issue