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.

Fish shell support

See original GitHub issue

This tool is looking great so far and it woud be great if it would also support fish shell: https://github.com/fish-shell/fish-shell

I tried to simply modify the syntax to fish-shell: [[ -s "$HOME/.avn/bin/avn.sh" ]]; and source "$HOME/.avn/bin/avn.sh" # load avn but it is not working completely since fish also seems to have issues with the square brackets.

What exactly is the first bit doing? That might make it easier to translate to fish.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

19reactions
ygormutticommented, Jul 10, 2018

@Globegitter avn is unnecessary for fish users. You can simply hook to PWD changes and run your favorite node version manager directly (I use nvm with fisherman/nvm):

function __nvm_use_on_cd --on-variable PWD --description 'Use Node.js version specified by project'
    if test -e .nvmrc
       nvm use
       return
    end
    
    if test -e .node-version
       nvm use (cat .node-version)
       return
    end
end
2reactions
ljharbcommented, Nov 27, 2017

By what metric is a shell that’s not POSIX compliant popular?

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
We'll get to it after the installation part is complete. Glorious colors – Fish shell supports 24-bit true color for making the terminal...
Read more >
fish (Unix shell) - Wikipedia
fish is a Unix shell with a focus on interactivity and usability. Fish is designed to give the user features by default, rather...
Read more >
fish - Package Control
Friendly Interactive Shell (fish). A Sublime Text package for the friendly interactive shell. ... The package currently supports up to fish version: 3.4....
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