chrisbenti / ps-config Goto Github PK
View Code? Open in Web Editor NEWPowershell Config
Powershell Config
Oh-My-Zsh creates a .zshrc that can override default configuration values, then calls the main script rather than including the entire prompt in the .zshrc. We should use a similar approach so we can do things like auto-update checks, config overrides, and better project organization.
I believe the way to do this is to create an actual PowerShell module that gets called by the Microsoft.PowerShell_profile.ps1 script when the shell is opened. This would also let us use PsGet for distribution and updates.
Whereas hg and git root names are kept at full length. It's a quick fix, just wanted to make the issue.
Suggestion: change the installation directory so something unique. The installation commands listed in the README didn't work for me because I have already made some customizations to my powershell profile.
fatal: destination path 'WindowsPowerShell' already exists and is not an empty directory.
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
We're treating this as similar to Oh-My-Zsh, but don't have a good name for it. If we want a cleaner update mechanism or better config overrides, we should really come up with a better name now, rather than try to rename things during install later.
See here
The window that pops up when attempting to tab complete looks absolutely hideous. Is there a way to config this?
Make a new temporary drive similarly to this:
New-PSDrive -Name VM -PSProvider FileSystem -Root "\\win81-wwighamvm\c$"
When in the root of the drive, the prompt is both empty and gray. (And when you cd into it, it becomes a UNC path, rather than a drive path) This probably isn't wholly intentional.
The custom posh-git ones, ofc, do. Just wanted to note this for somewhere so I could fix it later.
Repro:
Actual:
Expected:
2. Prompt displays something more accurate
Could use something like Boxstarter or Chocolatey to handle the module versioning, this also prevents unexpected breakage when pulling in a version newer than what was last tested. Also would allow a "spec" file that shows what versions have been tested with Pester/Psake within the repo.
Looks like it's more stringent about some things, like when you Mock.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.