Skip to content

Commit

Permalink
run zsh startup files (#144196) (#144210)
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com>
  • Loading branch information
meganrogge and Tyriar committed Mar 1, 2022
1 parent 05a5699 commit 8b889f1
Showing 1 changed file with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,19 @@
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# ---------------------------------------------------------------------------------------------

autoload -Uz add-zsh-hook

if [ -f ~/.zshenv ]; then
. ~/.zshenv
fi
if [[ -o "login" && -f ~/.zprofile ]]; then
. ~/.zprofile
fi
if [ -f ~/.zshrc ]; then
. ~/.zshrc
fi
unset ZDOTDIR # ensure ~/.zlogout runs as expected

IN_COMMAND_EXECUTION="1"
LAST_HISTORY_ID=0

Expand Down

0 comments on commit 8b889f1

Please sign in to comment.