question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support fish shell

See original GitHub issue

I’m a fish shell user, and when I invoke, for instance, FzfPreviewProjectFiles I get:

~      ╭──────────────────────────────────────────────────────────────────────────────╮        
~      │ ProjectFiles>                         ┌────────────────────────────────────┐ │        
~      │   375/375                             │ fish: $(...) is not supported. In  │ │        
~      │ > ./lari/pipelines/env: No such fil.. │ [[ "$(file --mime './lari/pipeline │ │        
~      │   scrapy.cfg                          │     ^                              │ │        
~      │   setup.py                            │ [bat error]: '2)': No such file or │ │        
~      │   filters_script.py                   │                                    │ │ 

nvim is set up to use good old bash for shell: :echo &shell returns /usr/bin/env bash.

Is there something I’m missing or that I can do?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
brandoncccommented, Jul 20, 2020

I was able to fix this by adding the following to my config:

" Since fish shell is the system default, nvim has all kinds of issues
" executing system() calls. Setting `shell` fixes them. fzf-preview still
" seems to use fish though, which setting $SHELL fixes.
set shell=/bin/zsh
let $SHELL = "/bin/zsh"
0reactions
aroonicommented, Feb 27, 2020

@yuki-ycino ; even with set shell=bash; i see things like:

fish: Unsupported use of ‘&&’. In fish, please use ‘COMMAND; and COMMAND’.
when doing :FZFPreviewAllBuffers

Read more comments on GitHub >

github_iconTop Results From Across the Web

fish shell
A smart and user-friendly command line shell. ... fish supports 24 bit true color, the state of the art in terminal technology.
Read more >
fish-shell/fish-shell: The user-friendly command line shell.
fish is a smart and user-friendly command line shell for macOS, Linux, and the rest of the family. fish includes features like syntax...
Read more >
How to Install Fish Shell on Linux
Glorious colors – Fish shell supports 24-bit true color for making the terminal even more appealing. Works out of the box – You...
Read more >
Feature request: support fish shell with op plugin command
There is support for bash and zsh for the “op plugin” command. But the fish shell is not included, and that would be...
Read more >
Add installer support for fish shell [35906130] - Issue Tracker
Jun 26, 2014 03:13AM. Currently only bash and zsh are supported by the installer. Please add support for the fish shell (http://fishshell.com/).
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found