Browse Source

Check if $ZDOTDIR exists to find correct path to .zshrc (#347)

Co-authored-by: Thales Maciel <thales@bode.io>
remotes/origin/add-with-shims
Thales Maciel 4 years ago committed by GitHub
parent
commit
215c5e3fb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .ci/install.sh

2
.ci/install.sh

@ -148,7 +148,7 @@ setup_shell() { @@ -148,7 +148,7 @@ setup_shell() {
CURRENT_SHELL="$(basename "$SHELL")"
if [ "$CURRENT_SHELL" == "zsh" ]; then
CONF_FILE=$HOME/.zshrc
CONF_FILE=${ZDOTDIR:-$HOME}/.zshrc
ensure_containing_dir_exists "$CONF_FILE"
echo "Installing for Zsh. Appending the following to $CONF_FILE:"
echo ""

Loading…
Cancel
Save