Comments (8)
Seems I have to explicitly put zstyle ':z4h:' start-tmux no
, now the $TERM variable is not 'tmux-256color' anymore which I think is correct.
from zsh4humans.
I am using below to disable shell integration in nvim terminal:
# .zshrc
if [ -n "$NVIM" ]; then
# disable shell integration
else
# enable
fi
For the fzf display issue, i don't know. what to do, maybe live with it for now. I think it's fzf issue.
from zsh4humans.
I am using below to disable shell integration in nvim terminal:
if [ -n "$NVIM" ]; then # disable else # enable fiFor the fzf display issue, i don't know. what to do, maybe live with it for now.
@towry
Where does $NVIM come from?
from zsh4humans.
https://neovim.io/doc/user/deprecated.html
search "$NVIM"
from zsh4humans.
I had the same issue. Thanks for the solution. Btw you can do it with one line:
[[ -z $NVIM ]] && zstyle ':z4h:' term-shell-integration 'yes'
@romkatv I wonder if it's a proper way to solve the issue and it has no drawbacks
from zsh4humans.
This would be a bug in nvim: it's not discarding unrecognized CSI sequences. I cannot reproduce this with nvim v0.4.3 though. Which version are you using?
I've pushed a commit that disables terminal integration in shells that run under nvim. Please run z4h update
, then close all shells, start a new one, and verify that it works.
from zsh4humans.
Just updated z4h and the issue in first picture is gone.
from zsh4humans.
Thanks for verifying.
from zsh4humans.
Related Issues (20)
- bug: .zshrc turned into numbers on backup folder HOT 8
- [question]: How to remove p10k. and prompt on bottom option doesnt seem to work HOT 11
- Documentation Request: Elaborate on caveats of zsh4humans when using vi bindings HOT 6
- Aliasing an existing command to multiple commands hangs the line editor HOT 4
- Support MSYS2/MINGW64 HOT 1
- getting annoying symbol HOT 2
- SSH HOST suggestion issue HOT 1
- I prefer the non-fzf auto-complete behavior, how to turn it off? HOT 1
- Error when defining `compdef kubecolor=kubectl` in .zshrc HOT 1
- Integrated tmux breaks new VS Code venv activation HOT 7
- Question/Issue with terminfo and alacritty HOT 4
- [Question] why tmux prompt at the bottom? HOT 2
- Report invalid zstyle options HOT 1
- Include a version identifier and time stamp in the initial `.zshrc` during installation HOT 1
- Completion list-dirs-first HOT 2
- fzf completion return query if no match
- z4h-fzf-history widget fails with special characters in command history HOT 2
- Install fzf completions without the rest of the zsh4human framework HOT 2
- `setopt no_global_rcs` breaks `snap` (Snapcraft) HOT 6
- open source HOT 1
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 zsh4humans.