Comments (4)
Thanks! That sounds like a fair workaround.
from oh-my-posh.
There's no way we can interact with Powershell directly anymore through Go. But, there's actually a way to achieve this by using the module (or likewise functionality in case you're going for a manual installation) and the Environment Variable segment. See here for more context.
from oh-my-posh.
Thanks! That sounds like a fair workaround.
It was the prettiest solution of all ugly ones (and portable cross shell too).
from oh-my-posh.
@pfmoore ok if we close this if the answer is acceptable?
from oh-my-posh.
Related Issues (20)
- Android AArch64 build HOT 1
- iTerm2 shell integration HOT 1
- Ability to not process the command in `command`
- I always lost my customize when I open the new tab HOT 1
- The git segment doesn't render correctly when switching to a shorter branch name HOT 6
- plugin system like "oh-my-zsh" HOT 1
- python segment not working
- Firebase segment does not work on child folders HOT 2
- Line wrapping the time to 2nd line HOT 4
- Loss of appearance when resizing window HOT 1
- Difference between JSON themes schema and documentation HOT 1
- New segment request: Talosctl current context HOT 6
- Improve performance for git prompts (on PowerShell) HOT 6
- shell config error
- When using nushell with --no-history I get error on oh-my-posh.nu HOT 8
- Long command from history disappears during attempt to modification (for slimfat theme)
- Display keyboard and/or mouse battery status HOT 8
- Weird escape characters on the VSCode integrated Terminal HOT 6
- git {{ .BranchStatus }} reports as ≢ even with upstream
- Disabling update checks from the configuration file
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oh-my-posh.