diff --git a/migrated/.zshenv b/migrated/.zshenv new file mode 100644 index 0000000..7fa746f --- /dev/null +++ b/migrated/.zshenv @@ -0,0 +1,6 @@ +# At least have the following in .zshenv_local: +# export GIT_AUTHOR_NAME='Alfred Muster' +# export GIT_AUTHOR_EMAIL='test@example.com' +# export GIT_COMMITTER_NAME="${GIT_AUTHOR_NAME?}" +# export GIT_COMMITTER_EMAIL="${GIT_AUTHOR_EMAIL?}" +[ -r ~/.zshenv_local ] && source ~/.zshenv_local || true diff --git a/migrated/.zshrc b/migrated/.zshrc index de62136..0f210ed 100644 --- a/migrated/.zshrc +++ b/migrated/.zshrc @@ -159,9 +159,4 @@ PROMPT='${IN_NIX_SHELL}%(?..%F{red}%?%f )[%n@%m] %3~${vcs_info_msg_0_} %# ' # Expand aliases by the press of TAB. zstyle ':completion:*' completer _expand_alias _complete _ignored -# At least have the following in .zshrc_local: -# export GIT_AUTHOR_NAME='Alfred Muster' -# export GIT_AUTHOR_EMAIL='test@example.com' -# export GIT_COMMITTER_NAME="${GIT_AUTHOR_NAME?}" -# export GIT_COMMITTER_EMAIL="${GIT_AUTHOR_EMAIL?}" [ -r ~/.zshrc_local ] && source ~/.zshrc_local || true diff --git a/modules/home.nix b/modules/home.nix index 27cd3bb..4a6ae06 100644 --- a/modules/home.nix +++ b/modules/home.nix @@ -4,6 +4,7 @@ git vim stow + wget ]; programs.zsh = { @@ -22,6 +23,15 @@ . ${../migrated/.zshrc} fi ''; + + # At least have the following in .zshenv_local: + # export GIT_AUTHOR_NAME='Alfred Muster' + # export GIT_AUTHOR_EMAIL='test@example.com' + # export GIT_COMMITTER_NAME="${GIT_AUTHOR_NAME?}" + # export GIT_COMMITTER_EMAIL="${GIT_AUTHOR_EMAIL?}" + envExtra = '' + [ -r ~/.zshenv_local ] && source ~/.zshenv_local || true + ''; }; programs.home-manager.enable = true;