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

Local Configuration File #15

Merged
merged 1 commit into from
Oct 2, 2021
Merged

Local Configuration File #15

merged 1 commit into from
Oct 2, 2021

Conversation

ominitay
Copy link
Owner

@ominitay ominitay commented Oct 2, 2021

ShellSaber will now search for a local config file, named 'config' at the same directory as the script's location. This config file takes the lowest priority, and will be used only if the user, user default, and global config files don't exist.

Closes #14

@ominitay ominitay force-pushed the localconfig branch 2 times, most recently from a08ce0e to 7d71cde Compare October 2, 2021 18:40
@ominitay ominitay changed the base branch from master to dev October 2, 2021 18:40
shaber Outdated Show resolved Hide resolved
ShellSaber will now search for a local config file, named 'config' at
the same directory as the script's location. This config file takes
priority over default config files, but below the user's config file (in
~/.config/shaber).
@ominitay ominitay merged commit cf3a20b into dev Oct 2, 2021
@ominitay ominitay deleted the localconfig branch October 2, 2021 19:52
ominitay added a commit that referenced this pull request Oct 3, 2021
Adds detection of a local config file in the same directory as the
ShellSaber script (useful for rapidly testing in development).
ominitay added a commit that referenced this pull request Oct 3, 2021
Adds detection of a local config file in the same directory as the
ShellSaber script (useful for rapidly testing in development).
ominitay added a commit that referenced this pull request Oct 3, 2021
Adds detection of a local config file in the same directory as the
ShellSaber script (useful for rapidly testing in development).
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.

Better support for running from the repo
2 participants