Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move extendedglob from Options.zsh to zshrc #648

Closed
wants to merge 1 commit into from
Closed

Move extendedglob from Options.zsh to zshrc #648

wants to merge 1 commit into from

Conversation

rcedwards
Copy link

@rcedwards rcedwards commented Oct 18, 2019

Issue

This addresses the issue pointed out in #634

Description

Introduced in 46af611, the _loadSettings() func requires extendedglob.

As such, its been moved from options.zsh to the zshrc file.

@eebs
Copy link
Contributor

eebs commented Oct 22, 2019

This option is currently set in zsh/configs/options.zsh

setopt extendedglob

It used to be set before _load_settings, but was moved in #430

Perhaps we need to move it before _load_settings as you have done, and remove it from options.zsh?

@rcedwards
Copy link
Author

Seems appropriate given its an option required by the function within zshrc itself and runs well before the loading of options.zsh.

I'll update my PR to match.

_load_settings function requires this to be enabled
and is called well before options.zsh is loaded.
@rcedwards rcedwards changed the title Add extendedglob as its required for _load_settings function Move extendedglob from Options.zsh to zshrc Oct 22, 2019
@opdavies
Copy link

This seems to fix my issue in opdavies/dotfiles#13.

@rcedwards rcedwards closed this Nov 17, 2020
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.

3 participants