Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preview not working if fish is not the default shell #47

Open
svenihoney opened this issue Jul 15, 2024 · 0 comments
Open

Preview not working if fish is not the default shell #47

svenihoney opened this issue Jul 15, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@svenihoney
Copy link

If fish is not the default user shell, the preview command fails due to a command not found error:

/run/current-system/sw/bin/bash: line 1: _fifc_action: Command not found.

To Reproduce
Steps to reproduce the behavior:

  • Set default shell to bash
  • Run fish from bash with fifc installed
  • Trigger a completion with tab

Expected behavior
Preview should be working independently of the selected default shell.

Screenshots
image

System (please complete the following information):

  • fish version 3.7.1
  • Distribution NixOS unstable

** Possible workaround/fix:**

--preview 'fish -c \"_fifc_action preview {} {q}\"' \
@svenihoney svenihoney added the bug Something isn't working label Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants