Comments (11)
With the package and git status modules, I was still unable to encounter the same bug.
What causes your prompt to show the time on the right-hand side? I can imagine that that could be a source of problems.
from starship.
Closing this issue as it was caused by omf.
from starship.
@pseudo-su I had some planned refactoring around the way configuration works, so I quickly included configuration for add_newline
in the process: #116
from starship.
For any future people having the same problem, fastest way to solve the problem was to use a different omf
theme that doesn't have the subtle timestamp hanging off to the right of the prompt (that is part of the default theme)
I used the pure theme.
> omf install pure
> omf theme pure
@pseudo-su I had some planned refactoring around the way configuration works, so I quickly included configuration for
add_newline
in the process: #116
🎉 I've installed this branch and it's working a treat, thanks
from starship.
The other question I have is if/how I can remove the extra line between prompts in starship (I think I used SPACEFISH_PROMPT_ADD_NEWLINE=false
with spacefish).
Super excited by this library/project btw 👌🎉
from starship.
I have unfortunately been unable to reproduce this bug with the same configuration on Alacritty (without OMF though). Is it possible that it is caused by anything in your Alacritty config?
The other question I have is if/how I can remove the extra line between prompts in starship (I think I used SPACEFISH_PROMPT_ADD_NEWLINE=false with spacefish).
That will absolutely be coming soon. For the time being it's hard-coded, but we will be building out more configuration options for the coming releases. 🙂
Super excited by this library/project btw 👌🎉
We are too! 😄🙌
from starship.
It's not just alacrity, I installed iTerm2 to test and it also happens there.
Possibly it's something to do with one of these? (they differ from yours/my screenshot).
- The module that's displaying the package info (in mine it's
is 📦 v0.0.1
) - the working changes section of the the git module (
[!+]
/[!?]
)
I might try and look at a bit more into it today
from starship.
I... actually don't know, I'll look into that 😅
from starship.
Looks like you're right... Temporarily disabling omf
seemed to fix the issue.
I don't know what plugin is causing it yet, but I have the following installed
from starship.
If I was to look into adding the equivalent of SPACEFISH_PROMPT_ADD_NEWLINE
support how/where would you want me to do it?
from starship.
This is where the new line is currently added:
https://github.com/starship/starship/blob/master/src/print.rs#L30-L31
The config value can be extracted from context.config
at that point.
from starship.
Related Issues (20)
- promt show incorrect when use right promt on zsh on nixpkgs HOT 1
- not blazing-fast HOT 15
- [ FR ] Disable Git status tracking per directory HOT 1
- Draw right prompt before `line_break` HOT 1
- `fill` adds one too many spaces on Windows Terminal when used with `cmd_duration` HOT 1
- `bold fg:none` isn't bold HOT 1
- Feature/Refacto: Conflate all VCSes under an umbrella `vcs` module
- [Bash] PROMPT_COMMAND overriden or causes errors HOT 1
- Always showing `error_symbol` regardless of exit status of last operation HOT 1
- Irrelevant single character change in pyvenv.cfg changes the prompt displayed with the variable ($virtualenv) for Python
- nspawn wrongly detected as OCI HOT 5
- Update `git_metrics` example to work properly in clean repo
- Color on macOS is not correct HOT 1
- Conda section not using assigned color HOT 1
- The starship won't work if not commenting or deleting #Use manjaro zsh prompt portion in the .zshrc file. HOT 2
- Starship stopped to worked in WSL mode after connecting with VSCode HOT 1
- Installing starship on a QNAP NAS not working HOT 1
- Separators between command output
- Add uv flag to python module
- `git_state` showing symbols outside of git repo HOT 3
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 starship.