Closed CleoMenezesJr closed 2 years ago
Well, it opens the default shell inside the sandbox. I would say that is what is expected for a Flatpak.
The default shell is ZSH and I remember in vscode flatpak you can integrate the shell via flatpak-spawn or something. That's why I opened this ticket.
@CleoMenezes Try opening a terminal buffer using :term flatpak-spawn --host bash
. That should give you your host's bash. I suppose we could add that to the first run warning.
:term flatpak-spawn --host --env=TERM="$TERM" zsh
works, but it looks like an editor inside the terminal. lol
Is not that how it is supposed to look? Anyway, if you find a workflow that suits your needs, you can add it to neovim-first-run.txt so that others can benefit.
If someone is having trouble getting this to work, I had to run Neovim with
flatpak run --talk-name=org.freedesktop.Flatpak io.neovim.nvim
We can add this as default if it proves useful.
We can add this as default if it proves useful.
yes, please do it
It looks like the terminal opens something like
flatpak run --command=bash io.neovim.nvim
and integration with the terminal looks like I'm inside the editor, plus it doesn't recognize my shell which is zsh.https://user-images.githubusercontent.com/54215258/145158127-954f4cf2-48b1-4457-a40b-ffd74f39e813.mp4