Skip to content
Snippets Groups Projects

Check $ZDOTDIR in bootstrap script

Merged Will Badart requested to merge wbadart/ghcup-hs:master into master

Zsh looks for .zshrc in $ZDOTDIR, or $HOME if $ZDOTDIR is unset. I doubt non-$HOME $ZDOTDIRs are widespread (I might be the only one I know with one), but it's how zsh's startup is defined, so it can happen.

This commit simply adds a check to the */zsh case of find_shell() to respect $ZDOTDIR if it is set.

Thanks for your consideration!

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading