Skip to content

Feature: add an option for creating a lazy load mode - #1001

Open
FrankRiverr wants to merge 1 commit into
dahlbyk:masterfrom
FrankRiverr:feature/add-lazy-load
Open

FrankRiverr wants to merge 1 commit into
dahlbyk:masterfrom
FrankRiverr:feature/add-lazy-load

Conversation

@FrankRiverr

Copy link
Copy Markdown

Utils.ps1\Add-PoshGitToProfile has been added a new option called -LazyLoad to perform this new feature

  • Module posh-git would not be imported at the start of PowerShell. It would be imported only if you enter a valid command and then press tab key.
  • ProxyFunction defined in GitTabExpansion.ps1 has not been implemented, because I failed to convert its logic. Hope it could be done in the future.

Currently this feature is done by directly adding hard-coded strings.

Utils.ps1\Remove-PoshGitFromProfile has also been added new logic to remove the script produced by the new feature of Utils.ps1\Add-PoshGitToProfile

… of module, and add related removing-from-profile logic
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.

1 participant