Giter Site home page Giter Site logo

Support for Fish shell about terminalizer HOT 4 CLOSED

faressoft avatar faressoft commented on May 13, 2024 1
Support for Fish shell

from terminalizer.

Comments (4)

jukefr avatar jukefr commented on May 13, 2024

I have fish and the binary is available, maybe you didn't put your npm bins in you path ? (https://asciinema.org/a/LwZmeW7HwMKtIKtU3PFAURl2t)
Or maybe this was fixed but not addressed in this issue.

from terminalizer.

cesards avatar cesards commented on May 13, 2024

You are right!

I had to add npm global path to the shell. To do that, I run:

$ npm config get prefix
// Output: /usr/local/Cellar/node/9.2.1

and then, adding to my fish/config.fish:

set PATH /usr/local/Cellar/node/9.2.1/bin $PATH

I think it's a bit dirty since I depend in the node version, but I've tried different things

This is the link that helped me solving the problem.

By the way, @jukefr I love your theme. What are you using? I love bob-the-fish but that shell is next level of customization!

from terminalizer.

jukefr avatar jukefr commented on May 13, 2024

I'm using a slightly tweaked version of fish dracula color scheme with oh my fish and sushi theme

sidenote: afaik most "prefered" way of adding something to your path is

set -gx PATH $PATH /home/user/.local/bin
       · -g or --global causes the specified shell variable to be given a
         global scope. Non-global variables disappear when the block they
         belong to ends
       · -x or --export causes the specified shell variable to be exported
         to child processes (making it an 'environment variable')

also if i remember correctly you can add the -U flag to automatically save this variable and not have to manually add it to config.fish

set -U -gx PATH $PATH /home/user/.local/bin
       · -U or --universal causes the specified shell variable to be given a
         universal scope. If this option is supplied, the variable will be
         shared between all the current users fish instances on the current
         computer, and will be preserved across restarts of the shell.

from terminalizer.

cesards avatar cesards commented on May 13, 2024

Cool. Thanks :)

from terminalizer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.