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

all functions to be disabled or overridden #124

Open
NathanDWalsh opened this issue Dec 1, 2024 · 0 comments
Open

all functions to be disabled or overridden #124

NathanDWalsh opened this issue Dec 1, 2024 · 0 comments

Comments

@NathanDWalsh
Copy link

Hi, I would like to be able to use the sed executable without calling the sed function in Microsoft.PowerShell_profile.ps1 (for example, if I want to pipe a stream to sed instead of operating on a file). I tried overriding the sed function in the Profile.ps1 using Edit-Profile, however it seems that this is loaded before your Microsoft.PowerShell_profile.ps1. I see two things that could be improved, either of which would solve this issue.

  • Allow for an easy way to skip certain functions from being loaded, perhaps a list in the Profile.ps1 file?
  • Load the Profile.ps1 file after the functions in the Microsoft.PowerShell_profile.ps1 file, so that the custom functions may be overridden.
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

No branches or pull requests

1 participant