Comments (8)
Which terminal emulator are you using? I can’t replicate this
from powerline-go.
It's called "terminator"
What I do is just split terminal window in half (split vertical hotkey) and then I go to the repository and it happens
from powerline-go.
I tried in terminator, and it’s not an issue there either:
It seems to be an issue of Fish Shell: Prompt changes to ">" when fish thinks it's too long #904
But it seems like we should introduce a solution where we automatically truncate segments when the prompt becomes too long. I’m thinking of adding a switch to define the priority of segments in order, so that it removes segments by priority if it becomes too long.
from powerline-go.
Okay, thanks for your investigation - that's quite weird behavior of Fish, but I guess it probably will not be fixed considering how old the bug report is (2013).
from powerline-go.
Would the suggested option above (removing segments by priority if the result would end up too long) work for you? If yes, I’d implement that.
from powerline-go.
@muttleyxd I introduced now the priority system, which should automatically cut down the length of the shell, please try if this works for you.
from powerline-go.
It seems like Fish overrides this behavior and does not call fish_prompt when terminal is too small. However after splitting few times in terminator Fish complains about terminal not being large enough and it starts working properly (until resize).
Welcome to fish, the friendly interactive shell
<W> fish: Current terminal parameters set terminal size to unreasonable value.
<W> fish: Defaulting terminal size to 80x24.
from powerline-go.
I’m not sure if there’s anything else I can do here, but I’m gonna close this issue, and you’ll have to file one with the fish project.
from powerline-go.
Related Issues (20)
- Fedora HOT 2
- Horizontal space on error HOT 1
- Docker context segment doesn't seem to recognize DOCKER_CONTEXT environment variable
- [Feature] Support for displaying Pulumi stack HOT 1
- Node segment shows up all the time if `node` is in the path.
- How to display git remote for tracking branch? HOT 2
- nix-shell segment uses a non-existent character HOT 2
- Shorten current working directory HOT 1
- Windows username is cropped
- modules-right not working in bash HOT 1
- Git staged tick is rendering grey, not white HOT 7
- Nice to have customizeable themes HOT 3
- No prompt in pyvenv.cfg makes venv incorrectly empty HOT 1
- Any plans to create new binaries? HOT 2
- Use the NIX_SHELL_PACKAGES variable in the nix-shell segment on Zsh
- Very slow startup for PowerShell 7.3.x on Windows 10
- [cwd] Display Unix-style path in Git Bash prompt
- venv style is incorrect
- direnv and venv segments HOT 3
- git tags for 1.24 release is not semver and cannot go install it
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 powerline-go.