-
Notifications
You must be signed in to change notification settings - Fork 99
Idea for ability to optionally override default modules and scripts install path - Duscussion and contribution is welcome! #1673
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
Draft
Draft
Changes from 1 commit
Commits
Show all changes
63 commits
Select commit
Hold shift + click to select a range
ce4d559
Return path override if present
o-l-a-v 166bf07
Make more robust
o-l-a-v 37417de
Get empty/non-existent env variable is not expected to throw
o-l-a-v de08199
More robust
o-l-a-v acecb75
Expand, not resolve
o-l-a-v 2713e4f
Add verbose message
o-l-a-v 3556f80
Don't get paths twice
o-l-a-v f3abadd
Add newline before comments
o-l-a-v 49db4bb
Remove empty newline
o-l-a-v 802184e
Added new cmdlet
o-l-a-v a6352fe
"using System;" was written twice
o-l-a-v 386bcf3
Only for Windows because env variables is very different on Unix + Ma...
o-l-a-v 6ada4c6
Sort using alphabetically
o-l-a-v 30bdf6a
Made code easier to navigate in VSCode
o-l-a-v 3583604
Added ability to set the override env variable
o-l-a-v 69863bb
Finished barebone functionality
o-l-a-v 2d1ed6f
Simplified expression, thanks C# extension
o-l-a-v f451010
Treat -Path more like in Save-PSResource
o-l-a-v 90ccdc9
Looks better this way IMO
o-l-a-v 16339a1
Comment update
o-l-a-v 398b2a6
Don't think ExpandEnvironmentVariables throws if some %VAR% does not ...
o-l-a-v ec79901
Added -WhatIf support
o-l-a-v c80a398
Remove unneccessary "using"
o-l-a-v ba7b5f4
Fixed adding scripts dir to PATH
o-l-a-v ce7d0f7
PATH is named Path
o-l-a-v 69c88ad
Big oops, set Path not PSModulePath for scripts dir
o-l-a-v 8026053
Fixed verbose message
o-l-a-v 853fb56
Simplify some more
o-l-a-v e5d145d
Return path override if present
o-l-a-v fb1d306
Make more robust
o-l-a-v 7289dee
Get empty/non-existent env variable is not expected to throw
o-l-a-v 76d75e2
More robust
o-l-a-v 288edec
Expand, not resolve
o-l-a-v 89f3dfc
Add verbose message
o-l-a-v 9b4b60f
Don't get paths twice
o-l-a-v 9e8617c
Add newline before comments
o-l-a-v 02b79b7
Remove empty newline
o-l-a-v 82e501c
Added new cmdlet
o-l-a-v 4b02c09
"using System;" was written twice
o-l-a-v a86eae5
Only for Windows because env variables is very different on Unix + Ma...
o-l-a-v abb819e
Sort using alphabetically
o-l-a-v 8ad86c5
Made code easier to navigate in VSCode
o-l-a-v 92a72cf
Added ability to set the override env variable
o-l-a-v d067987
Finished barebone functionality
o-l-a-v 8f2cc35
Simplified expression, thanks C# extension
o-l-a-v f278bb8
Treat -Path more like in Save-PSResource
o-l-a-v eabf85d
Looks better this way IMO
o-l-a-v 8b1bdce
Comment update
o-l-a-v fc20175
Don't think ExpandEnvironmentVariables throws if some %VAR% does not ...
o-l-a-v 854e599
Added -WhatIf support
o-l-a-v 2682b98
Remove unneccessary "using"
o-l-a-v e2e8d0b
Fixed adding scripts dir to PATH
o-l-a-v d51bdef
PATH is named Path
o-l-a-v 3e243a4
Big oops, set Path not PSModulePath for scripts dir
o-l-a-v 1b2bf32
Fixed verbose message
o-l-a-v be6d635
Simplify some more
o-l-a-v b0d7261
Merge branch 'install-path-override' of https://github.com/o-l-a-v/Po...
o-l-a-v c0f6dba
Merge branch 'master' into install-path-override
o-l-a-v 9b84e89
Remove unneccessary using
o-l-a-v 2f371a2
Merge branch 'master' into install-path-override
o-l-a-v 71db23c
Format on save
o-l-a-v 7cd3a1b
Removed unused "using"
o-l-a-v 3b9ed21
Remove unused using and run formatting
o-l-a-v File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Simplified expression, thanks C# extension
- Loading branch information
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.