Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

m-rey
Copy link
Contributor

@m-rey m-rey commented Oct 12, 2020

The location of .zshrc is not always $HOME/.zshrc. The environment variable ZDOTDIR defines in which directory .zshrc is in. Thus this contribution uses parameter expansion to check if ZDOTDIR is set and in that case uses that directory to locate .zshrc. If ZDOTDIR is not set, $HOME is used as fallback directory.

@nobu nobu merged commit c497767 into ruby:master Dec 2, 2020
@m-rey m-rey deleted the use_zdotdir branch February 3, 2021 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants